Commit Graph

61 Commits

Author SHA1 Message Date
EinfachToll
7e87e92954 Move tags-related functions to extra file
also rename some functions from vimwiki#tags#bla() to s:bla()
2015-02-23 11:29:02 +01:00
Ivan Tishchenko
7bc2fcb3a7 Merge remote-tracking branch 'vimwiki/dev' into 'vimwiki/tags'
Conflicts:
	doc/vimwiki.txt
	ftplugin/vimwiki.vim
2015-02-12 22:20:16 +03:00
EinfachToll
df5e49c7fd Fix completion in some circumstances 2015-02-09 21:56:28 +01:00
EinfachToll
ac4f66586a col('.') inside the omnicompletion function returns garbage
so use a workaround
2015-02-09 21:40:17 +01:00
EinfachToll
e4de62b7d5 turn all =~ into =~# or =~?; !~ analogically 2015-02-09 20:58:05 +01:00
EinfachToll
9ada4d2041 turn all == into ==# or ==? when comparing strings
or vimwiki#path#is_equal, if the strings are file names
2015-02-09 20:05:25 +01:00
Ivan Tishchenko
42f427e718 Fix issue with tags completion not working right after the colon 2015-02-05 00:05:04 +03:00
Ivan Tishchenko
b99a3dc988 Convert file format to CTAGS. Update docs 2015-01-10 01:44:25 +03:00
Ivan Tishchenko
e44b188a49 :VimwikiGenerateTags 2015-01-10 00:05:58 +03:00
Ivan Tishchenko
a62bebceb2 Implement :VimwikiSearchTags to look up tag instances in a wiki 2015-01-10 00:05:11 +03:00
Ivan Tishchenko
df91772d7e Implement :VimwikiRebuildTags to rebuild metadata for all pages in current wiki 2015-01-10 00:01:18 +03:00
Ivan Tishchenko
a01290160c Support for omni completion of tags 2015-01-10 00:01:12 +03:00
Ivan Tishchenko
19cc1b873a Added placeholders for tags on-page-save analysis 2015-01-10 00:00:53 +03:00
EinfachToll
37ef87b930 Suppress an annoying error message when it's not the right time 2014-12-14 14:49:06 +01:00
EinfachToll
931b40ade1 New command :VimwikiCheckLinks
while we are at it, refactor the code to search through files
2014-12-04 21:26:19 +01:00
EinfachToll
9fa06803d6 Merge pull request #83 from t7ko/autocompletion
Autocompletion for VimwikiGoto command.
2014-11-12 09:11:00 +01:00
EinfachToll
bc0f310889 Update the TOC *before* the file is written, not after
otherwise, Vim behaves strange
2014-11-11 13:52:18 +01:00
Ivan Tishchenko
6b9edefecc Fixed misprint in comments; corrected completion to escape filenames properly; add documentation. 2014-11-10 23:04:06 +03:00
Ivan Tishchenko
f7df798b25 Support autocompletion of link argument for VimwikiGoto command 2014-11-07 00:02:37 +03:00
Ivan Tishchenko
7d07397a98 Enable customization of <Leader>w prefix for global mappings (allow users choose their own prefix). 2014-11-06 01:12:21 +03:00
EinfachToll
39b6239820 Vim gets stuck when converting a read-only file
because it tries to write it beforehand.
Fix #81
2014-10-23 12:18:28 +02:00
EinfachToll
24d690f32d Use relative paths in omnicomplete
Fix #70
Ref #72
2014-09-16 10:18:40 +02:00
EinfachToll
fb8bbef69b Merge remote-tracking branch 'chelmertz/dev-echo-export-location' into dev
Conflicts:
	ftplugin/vimwiki.vim
2014-09-12 12:09:40 +02:00
Carl Helmertz
d7488e3291 html export: Let the user know where to find the output
This works both for :Vimwiki2HTML and :VimwikiAll2HTML.

Signed-off-by: Carl Helmertz <chelmertz@op5.com>
2014-09-12 11:25:07 +02:00
EinfachToll
2dd9a153bc Remove option 2 of 'auto_toc'
It doesn't really work for :VimwikiAll2HTML
2014-08-18 09:35:52 +02:00
EinfachToll
502212b58d process links of the form [[#anchor]] correctly
when typing :VimwikiAll2HTML
2014-08-18 09:30:22 +02:00
EinfachToll
41ddc28c9e Don't interpret autocomplete start string as regexp 2014-08-14 13:08:24 +02:00
EinfachToll
fcd908791b Function names must start with s: or capital letter 2014-07-30 21:46:22 +02:00
EinfachToll
77bc1b709b Remove nonascii bullet symbol because of encoding probs 2014-07-30 21:26:07 +02:00
EinfachToll
44436f4581 Do some cleaning using vim-vimlint
Mostly turning global variables into script variables
2014-02-24 12:16:23 +01:00
EinfachToll
8f6768d7e6 Update the doc and make some fixes regarding anchors
Solve #10
2014-02-18 14:47:42 +01:00
EinfachToll
8097083f46 Add anchors, jumping to anchors, TOC and completion
Ref #10
2014-02-13 12:42:24 +01:00
EinfachToll
cec6acd2f0 Rename :VimwikiToggleCheckbox back to :VimwikiToggleListItem
the name is a little confusing, since there is also a command
:VimwikiListToggle, but it's backwards compatible
2014-02-04 10:40:14 +01:00
EinfachToll
e6735215ed Reactivate and fix html.vim to make it work with lists 2014-02-03 11:41:55 +01:00
EinfachToll
74c3372c44 Finally introduce commands for all list keys
and update the documentation
2014-01-06 14:11:16 +01:00
EinfachToll
9821aaf528 (not complete) integration of peggi for html conversion 2014-01-06 12:54:34 +01:00
EinfachToll
140d32fcdd Add text objects for list items
I put the function in lst.vim, not base.vim because it uses some
functions from lst.vim and because it's list stuff.
2013-10-30 10:53:34 +01:00
EinfachToll
e9b1b66807 Prevent the cursor from jumping around on gl* 2013-10-29 13:10:16 +01:00
EinfachToll
b170eb52f3 Fix <CR> in a table leaving insert mode 2013-07-30 09:56:33 +02:00
Maxim Kim
c6e110a368 Code clean up
Remove unused list functions from ftplugin.
2013-07-24 11:30:29 +04:00
Maxim Kim
e30aa56722 Issue 4: List folding doesn't work
Using new list functions to determine list fold level.
As a regression there is no folds for multilined list item's text.

1. item 1
2. item 2
   multilined
	 that is not
	 folded now
3. item 3

Previous method was able to fold item 2. I am not sure if we should fix
it or not.
2013-07-24 11:09:41 +04:00
Maxim Kim
58e072fa92 Do not load whole syntax file for a buffer twice.
Load twice only regexes for a concrete syntax.
2013-07-18 09:55:24 +04:00
EinfachToll
79b78dc9ee Move around and simplify the code for initialization 2013-07-17 15:57:35 +02:00
Maxim Kim
6805438779 Change some list mappings to have prefix <C-L>.
Remove <C-B>, <C-S> and <C-A> mappings. Use <C-L><C-M>, <C-L><C-K>,
<C-L><C-J> instead.
2013-07-16 11:27:44 +04:00
Maxim Kim
6d15d32652 Issue 2: g:vimwiki_rxListBullet is not defined
Move g:vimwiki_rxListBullet definition to corresponding syntax files.

Restore multiple bullets (*, **, ***) functionality, set up vimwiki
default lists have only one bullet.
2013-07-14 20:58:46 +04:00
EinfachToll
8744a31031 support for numbered lists and much other list stuff 2013-07-08 11:37:35 +02:00
mwcz
a0bd07e629 pull in vimwiki 2.1 from vim.org 2013-04-21 13:19:54 -04:00
Maxim Kim
d5a6d097da Version 2.0.stu
This release is partly incompatible with 1.2.

You should delete previous version of vimwiki before install.

= Summary =

    * Quick page-link creation.
    * Redesign of link syntaxes (!)
        * No more CamelCase links. Check the ways to convert them http://goo.gl/15ctX
        * No more [[link][desc]] links.
        * No more [http://link description] links.
        * No more plain image links. Use transclusions.
        * No more image links identified by extension. Use transclusions.
    * Interwiki links.
    * Link schemes.
    * Transclusions.
    * Normalize link command.
    * Improved diary organization and generation.
    * List manipulation.
    * Markdown support.
    * Mathjax support.
    * Improved handling of special characters and punctuation in filenames and urls.
    * Back links command: list links referring to the current page.
    * Highlighting nonexisted links are off by default.
    * Table syntax change. Row separator uses | instead of +.
    * Fold multilined list items.
    * Custom wiki to HTML converters.
    * Conceal long weblinks.
    * Option to disable table mappings.

For detailed information see issues list on
http://code.google.com/p/vimwiki/issues/list
0001-01-01 00:00:00 +00:00
Maxim Kim
84297c9051 Version 1.2
= Note =
Remove previous version of vimwiki before install - files in autoload dir is moved/renamed to autoload/vimwiki dir.

= Changelog =
* Issue 70: Table spanning cell support.
* Issue 72: Do not convert again for unchanged file. |:VimwikiAll2HTML|
  converts only changed wiki files.
* Issue 117: |VimwikiDiaryIndex| command that opens diary index wiki page.
* Issue 120: Links in headers are not highlighted in vimwiki but are
  highlighted in HTML.
* Issue 138: Added possibility to remap table-column move bindings. See
  |:VimwikiTableMoveColumnLeft| and |:VimwikiTableMoveColumnRight|
  commands. For remap instructions see |vimwiki_<A-Left>|
  and |vimwiki_<A-Right>|.
* Issue 125: Problem with 'o' command given while at the of the file.
* Issue 131: FileType is not set up when GUIEnter autocommand is used in
  vimrc. Use 'nested' in 'au GUIEnter * nested VimwikiIndex'
* Issue 132: Link to perl (or any non-wiki) file in vimwiki subdirectory
  doesn't work as intended.
* Issue 135: %title and %toc used together cause TOC to appear in an
  unexpected place in HTML.
* Issue 139: |:VimwikiTabnewLink| command is added.
* Fix of g:vimwiki_stripsym = '' (i.e. an empty string) -- it removes bad
  symbols from filenames.
* Issue 145: With modeline 'set ft=vimwiki' links are not correctly
  highlighted when open wiki files.
* Issue 146: Filetype difficulty with ".txt" as a vimwiki extension.
* Issue 148: There are no mailto links.
* Issue 151: Use location list instead of quickfix list for :VimwikiSearch
  command result. Use :lopen instead of :copen, :lnext instead of :cnext
  etc.
* Issue 152: Add the list of HTML files that would not be deleted after
  |:VimwikiAll2HTML|.
* Issue 153: Delete HTML files that has no corresponding wiki ones with
  |:VimwikiAll2HTML|.
* Issue 156: Add multiple HTML templates. See
  |vimwiki-option-template_path|. Options html_header and html_footer are
  no longer exist.
* Issue 173: When virtualedit=all option is enabled the 'o' command behave
  strange.
* Issue 178: Problem with alike wikie's paths.
* Issue 182: Browser command does not quote url.
* Issue 183: Spelling error highlighting is not possible with nested
  syntaxes.
* Issue 184: Wrong foldlevel in some cases.
* Issue 195: Page renaming issue.
* Issue 196: vim: modeline bug -- syn=vim doesn't work.
* Issue 199: Generated HTML for sublists is invalid.
* Issue 200: Generated HTML for todo lists does not show completion status
  the fix relies on CSS, thus your old stylesheets need to be updated!;
  may not work in obsolete browsers or font-deficient systems.
* Issue 205: Block code: highlighting differs from processing. Inline code
  block {{{ ... }}} is removed. Use `...` instead.
* Issue 208: Default highlight colors are problematic in many
  colorschemes. Headers are highlighted as |hl-Title| by default, use
  |g:vimwiki_hl_headers| to restore previous default Red, Green, Blue or
  custom header colors. Some other changes in highlighting.
* Issue 209: Wild comments slow down html generation. Comments are
  changed, use %% to comment out entire line.
* Issue 210: HTML: para enclose header.
* Issue 214: External links containing Chinese characters get trimmed.
* Issue 218: Command to generate HTML file and open it in webbrowser. See
  |:Vimwiki2HTMLBrowse|(bind to <leader>whh)
* NEW: Added <Leader>wh mapping to call |:Vimwiki2HTML|
2011-06-23 15:26:36 -07:00
Maxim Kim
458c4539e5 Version 1.1
* NEW: Issue 57: Make it possible to have pre block inside list item.
* NEW: Issue 82: Add quick goto command. See |:VimwikiGoto|.
* NEW: Issue 83: Quick switch in diary. See |:VimwikiDiaryNextDay| and
  |:VimwikiDiaryPrevDay| commands.
* FIX: Issue 84: Vimwiki rename removed the WikiWord display name.
* FIX: Issue 85: Errors if you have '~' subdirectory in a wiki directory.
* FIX: Issue 86: Existed links '[[WikiLink1|Alias1]] | [[WikiLink2]]' are
  highlighted as a single link.
* FIX: Issue 88: Underline text. See |g:vimwiki_valid_html_tags|.
* FIX: Issue 92: Wikies in a subdir could be renamed to an empty file.
* FIX: Issue 93: Use alias name in html title. See |vimwiki-title|.
* FIX: Issue 94: Relative links to PHP files are broken. See
  |g:vimwiki_file_exts| for details.
* FIX: Issue 96: Closing bracket at the end of weblink shouldn't be a part
  of that link.
* FIX: Issue 97: Error opening weblink in a browser if it has # inside.
* FIX: Issue 99: Vim is not responing while opening arbitrary wiki file.
* FIX: Issue 100: Additional content on diary index page could be
  corrupted.
* NEW: Issue 101: Customized HTML tags. See |g:vimwiki_valid_html_tags|
* NEW: Issue 102: Conceal feature usage. See |g:vimwiki_conceallevel|.
* FIX: Issue 103: Always highlight links to non-wiki files as existed.
* FIX: Issue 104: vimwiki#nested_syntax needs 'keepend' to avoid contained
  language syntax eat needed '}}}'.
* FIX: Issue 105: <i_CR> on a todo list item with [ ] doesn't create new
  todo list item.
* FIX: Issue 106: With MediaWiki syntax <C-Space> on a child todo list
  item produce errors.
* FIX: Issue 107: With MediaWiki syntax <C-Space> on a list item creates
  todo list item without space between * and [ ].
* FIX: Issue 110: Syntax highlighting doesn't work for indented codeblock.
* FIX: Issue 115: Nested Perl syntax highlighting differs from regular
  one.
* MISC: Many vimwiki commands were renamed from Vimwiki.*Word to
  Vimwiki.*Link. VimwikiGoHome is renamed to VimwikiIndex,
  VimwikiTabGoHome to VimwikiTabIndex.
* MISC: vimwiki-option-gohome is removed.
0001-01-01 00:00:00 +00:00