Commit Graph

99 Commits

Author SHA1 Message Date
c1dbf90c29 Remove foldmarkers; general reformatting 2018-04-20 07:03:53 +02:00
3556de54e1 Small refactorings 2018-04-17 07:15:23 +02:00
2941913ccc Add keys for motions between headers
Fix #462
Inspired by #23
2018-04-06 21:11:40 +02:00
a144be2a30 Improve header text objects
- make it work for markdown and media syntax as well
- don't find headers in preformatted text or headers of the form = foo ==
- introduce iH and aH text objects for headers plus subheaders
- add a count to include parent headers

Inspired by #462
2018-04-06 09:58:28 +02:00
b016eab91a Set 'tw' to 99 in all source files. We're not in the middle ages anymore. 2018-02-21 07:11:51 +01:00
1e858b50cb Cherry-pick the changes from dev -- part7 2018-02-19 07:07:22 +01:00
f60993249a Cherry-pick the changes from dev -- part5 2018-02-17 21:05:06 +01:00
73bda6b9ab Cherry-pick the changes from dev -- part3 2018-02-16 18:11:49 +01:00
7d4254a75d Cherry-pick the changes from dev -- part2 2018-02-16 17:47:32 +01:00
5419fad3f7 Formatting and small refactorings 2018-02-15 18:38:39 +01:00
68ad4675a3 Remove b:undo_ftplugin to speed up buffer loading
If this variable is present, then for some reason the complete ftplugin
file is sourced everytime a Vimwiki buffer is entered, even if the
buffer has been entered before, i.e. the guard b:did_ftplugin has no
effect. (See /usr/share/vimXX/ftplugin.vim)
Deleting these lines. I don't think undoing the settings is a common use
case, anyway.
2018-02-10 21:41:07 +01:00
4e16db926f Fix more regression bugs 2017-11-11 21:52:07 +01:00
1806d3edfa Start refactoring the rest -- part 5
Ref #256
2017-01-07 21:51:15 +01:00
4a96eb4d32 Remove two undocumented and probably buggy features 2017-01-04 22:10:10 +01:00
203fb5b430 Start refactoring the rest -- part 4
Ref #256
2017-01-04 21:53:03 +01:00
7c98ce3934 Start refactoring the rest -- part 2
Ref #256
2016-12-28 22:17:08 +01:00
250fd3c47b Use new access functions for wiki-local variables -- part 5
Ref #256
2016-12-23 20:05:53 +01:00
2329d602a7 Use new access functions for wiki-local variables -- part 4
Ref #256
2016-12-22 21:00:19 +01:00
f497a4abc7 Use new access functions for wiki-local variables -- part 3
Ref #256
2016-12-22 19:55:20 +01:00
61910cd93a Use new access functions for wiki-local variables -- part 2
Ref #256
2016-12-22 19:12:03 +01:00
6221861957 Use new access functions for wiki-local variables -- part 1
Ref #256
2016-12-22 18:16:05 +01:00
49bdf7fa47 Use new access functions for global variables -- part 2
Ref #256
2016-12-21 21:28:48 +01:00
e6d997867a Use new access functions for global variables -- part 1
Ref #256
2016-12-21 19:43:34 +01:00
3b96f8ffeb Prevent imap of <CR> if already mapped 2016-12-05 18:17:38 -05:00
4bd0690a52 Simplify some regexes 2016-03-18 15:16:59 +01:00
949b29b694 Fix tags file path when 'path' contains spaces
Fix #176
2015-12-14 10:36:16 +01:00
0931685ba2 Merge branch 'tags' into dev
Ref #85
2015-11-12 11:56:03 +01:00
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
b808dcfdc1 Simplify a function call 2015-06-10 22:00:07 +02:00
8bbe0408f9 Set the 'tags' option correctly
Ref #85
2015-05-15 11:01:55 +02:00
6c77fd9101 :VimwikiRebuildTags! only reads files newer than .tags file
Ref #85
2015-05-15 10:56:46 +02:00
b53dd48429 Merge remote-tracking branch 'upstream/dev' into upstream/tags
Conflicts:
	doc/vimwiki.txt
2015-05-06 17:27:25 +04:00
b5da4ffc8a auto complete absolute wiki links 2015-04-30 13:53:25 +02:00
4617576c20 Fix bug: tags would not work in subfolders ('tags file not found') 2015-04-26 22:13:03 +03:00
28114d8c85 Merge remote-tracking branch 'upstream/dev' into 'upstream/tags'
Conflicts:
	autoload/vimwiki/base.vim
2015-03-25 21:33:19 +03:00
4511bf09e6 Don't highlight absolute links when 'maxhi' is on
Ref #105
2015-03-17 10:33:43 +01:00
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
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
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
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
df5e49c7fd Fix completion in some circumstances 2015-02-09 21:56:28 +01:00
ac4f66586a col('.') inside the omnicompletion function returns garbage
so use a workaround
2015-02-09 21:40:17 +01:00
e4de62b7d5 turn all =~ into =~# or =~?; !~ analogically 2015-02-09 20:58:05 +01:00
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
42f427e718 Fix issue with tags completion not working right after the colon 2015-02-05 00:05:04 +03:00
b99a3dc988 Convert file format to CTAGS. Update docs 2015-01-10 01:44:25 +03:00
e44b188a49 :VimwikiGenerateTags 2015-01-10 00:05:58 +03:00
a62bebceb2 Implement :VimwikiSearchTags to look up tag instances in a wiki 2015-01-10 00:05:11 +03:00
df91772d7e Implement :VimwikiRebuildTags to rebuild metadata for all pages in current wiki 2015-01-10 00:01:18 +03:00
a01290160c Support for omni completion of tags 2015-01-10 00:01:12 +03:00