Commit Graph

76 Commits

Author SHA1 Message Date
Christian Rondeau
3b96f8ffeb Prevent imap of <CR> if already mapped 2016-12-05 18:17:38 -05:00
EinfachToll
4bd0690a52 Simplify some regexes 2016-03-18 15:16:59 +01:00
EinfachToll
949b29b694 Fix tags file path when 'path' contains spaces
Fix #176
2015-12-14 10:36:16 +01:00
EinfachToll
0931685ba2 Merge branch 'tags' into dev
Ref #85
2015-11-12 11:56:03 +01:00
Ivan Tishchenko
d7becafbdd Fix bug with folds shortening on multibyte characters.
If section title contains multibyte chars, the fold shortening function
often fails, because it works with text as array of bytes, not
characters (see strlen() doc for example).

This commit fixes this issue.
2015-07-07 22:54:57 +03:00
EinfachToll
b808dcfdc1 Simplify a function call 2015-06-10 22:00:07 +02:00
EinfachToll
8bbe0408f9 Set the 'tags' option correctly
Ref #85
2015-05-15 11:01:55 +02:00
EinfachToll
6c77fd9101 :VimwikiRebuildTags! only reads files newer than .tags file
Ref #85
2015-05-15 10:56:46 +02:00
Ivan Tishchenko
b53dd48429 Merge remote-tracking branch 'upstream/dev' into upstream/tags
Conflicts:
	doc/vimwiki.txt
2015-05-06 17:27:25 +04:00
EinfachToll
b5da4ffc8a auto complete absolute wiki links 2015-04-30 13:53:25 +02:00
Ivan Tishchenko
4617576c20 Fix bug: tags would not work in subfolders ('tags file not found') 2015-04-26 22:13:03 +03:00
Ivan Tishchenko
28114d8c85 Merge remote-tracking branch 'upstream/dev' into 'upstream/tags'
Conflicts:
	autoload/vimwiki/base.vim
2015-03-25 21:33:19 +03:00
EinfachToll
4511bf09e6 Don't highlight absolute links when 'maxhi' is on
Ref #105
2015-03-17 10:33:43 +01:00
EinfachToll
6922836a0c Wiki links starting with / are always relative to the wiki root
Also, links with the file: scheme are absolute iff they start with / or
drive letter

Ref #105
2015-03-13 16:31:15 +01:00
EinfachToll
8d7d568214 Clean up all file headers
- remove author names. There's git blame for this job
- change home from code.google to github
- add short descriptions
2015-02-23 12:10:42 +01:00
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