EinfachToll
19f398c73e
Cherry-pick the changes from dev -- part 1
2018-02-16 07:26:42 +01:00
EinfachToll
5419fad3f7
Formatting and small refactorings
2018-02-15 18:38:39 +01:00
EinfachToll
f48dce6f1d
Refactor then updating of the known wiki pages
...
for the 'maxhi' option.
2018-02-14 06:53:46 +01:00
Michael F. Schönitzer
75fe1d4f00
Fix bug: unknown function SafeSubstitute
2017-12-04 16:26:59 +01:00
Michael F. Schönitzer
aff1b639df
Merge pull request #6 from vimwiki/dev
...
Merge from upstream
2017-11-15 16:35:28 +01:00
Keith Haber
c94af4b3f1
Update argument handling in diary#make_note
...
Fix an "Undefined variable: a:3" error that occurs when attempting to open
a diary page with Calendar.vim.
2017-11-15 16:33:59 +01:00
John Campbell
164b760d3b
Merge pull request #411 from Nudin/safesubst
...
Use a safe substitution-function everywhere
2017-11-14 00:43:49 -05:00
EinfachToll
4e16db926f
Fix more regression bugs
2017-11-11 21:52:07 +01:00
Michael F. Schönitzer
074d882762
Allow Backtick in Link
2017-11-10 22:47:57 +01:00
Michael F. Schönitzer
91c382a034
Use a safe substitution-function everywhere
2017-11-10 22:32:29 +01:00
Daniel Etrata
b6d47e894d
Give vimwiki#diary#make_note similar functionality
2017-11-10 21:26:58 +01:00
Daniel
02e32489d7
Added the option to open vimwiki in a pane.
...
1 tabedit
2 split
3 vsplit
Similar to opening a tab,::
vimwiki#base#goto_index(v:count1, 1)
we can now open a split with::
vimwiki#base#goto_index(v:count1, 2)
and a vertical split with::
vimwiki#base#goto_index(v:count1, 3)
2017-11-10 21:26:58 +01:00
Daniel
95d4c095d0
Added the option to open vimwiki in a pane.
...
1 tabedit
2 split
3 vsplit
Similar to opening a tab,::
vimwiki#base#goto_index(v:count1, 1)
we can now open a split with::
vimwiki#base#goto_index(v:count1, 2)
and a vertical split with::
vimwiki#base#goto_index(v:count1, 3)
2017-11-10 21:26:58 +01:00
Daniel
734d014367
Added the option to open vimwiki in a pane.
...
1 tabedit
2 split
3 vsplit
Similar to opening a tab,::
vimwiki#base#goto_index(1, 1)
we can now open a split with::
vimwiki#base#goto_index(1, 2)
and a vertical split with::
vimwiki#base#goto_index(1, 3)
2017-11-10 21:26:58 +01:00
Daniel
293e1f51ee
Added the option to open vimwiki in a pane.
...
1 tabedit
2 split
3 vsplit
Similar to opening a tab,::
vimwiki#base#goto_index(v:count1, 1)
we can now open a split with::
vimwiki#base#goto_index(v:count1, 2)
and a vertical split with::
vimwiki#base#goto_index(v:count1, 3)
2017-11-10 21:26:58 +01:00
John Campbell
7c2ae8a714
Merge pull request #373 from Nudin/wontdo
...
"Won't-do" state for checkbox list items
2017-11-04 14:23:50 -04:00
Drew Hays
eed4ceff1a
Escape the 'dot' in extension substitution
...
This escapes the `.` preceding an extension (e.g. `.wiki`) so that it doesn't accidentally match any character.
For example: `[vimwiki](vimwiki)` was opening the `vi.wiki` page, because of this rule.
2017-11-03 23:06:10 +01:00
Dawid Ciężarkiewicz
d9a73b7117
Fix diary index generation with custom file extensions
...
Fix #302
2017-10-25 16:02:48 -07:00
Michael F. Schönitzer
41e653718e
Allow to specify additional chars for lists
2017-09-16 16:30:22 +02:00
Steven Schmeiser
f384aa6d1e
add horizontal alignment to tables
2017-08-17 10:22:09 -04:00
Michael F. Schönitzer
f917b01998
Html-export: Add support of rejected Todo-listentry
2017-08-05 16:45:35 +02:00
Michael F. Schönitzer
6b9df766bb
Remove duplicated code
2017-08-05 16:45:35 +02:00
Michael F. Schönitzer
f888773767
New feature reject a item form todo-list
...
Based on patches of davidlmontgomery.
2017-08-05 16:45:35 +02:00
Michael F. Schönitzer
7fe98bd20c
Clean up code by reusing code
2017-07-15 15:48:47 +02:00
Michael F. Schönitzer
20afe48edd
Add comment & binding for in-/decrease Todo-status
2017-07-15 15:48:47 +02:00
s
3ecf9c544a
set additional custom arguments in g:vimwiki_list
...
(custom_wiki2html_args) which will then be passed to the appropriate
custom_wiki2html script.
2017-07-11 21:52:41 +02:00
EinfachToll
4a7d9a286f
Merge pull request #326 from salazar/dev
...
Fix issue in Markdown visual mode link creation
2017-07-09 18:20:54 +02:00
EinfachToll
f6437ebdf5
Fix regexps of placeholders
...
- the highlighting was wrong when the placeholder is indented
- %titleBla was wrongly recongnized as placeholder
- make them more robust by prepending \m
2017-07-08 22:08:41 +02:00
Yuchen Pei
28177c33e3
Added date placeholder. ( #360 )
...
* added date placeholder.
* made today the default.
2017-07-08 21:04:54 +02:00
EinfachToll
39745ebcd3
Don't open all diary files when going to next day
...
This is unnecessary and can be very slow when the user has many diary
files.
Ref #328
2017-04-15 10:49:53 +02:00
Guilherme Salazar
30ab7dbff0
fix issue in Markdown visual mode link creation
2017-04-04 20:20:36 -03:00
EinfachToll
e4fe5ce09d
Add possibility to reuse a split when opening a link
...
Also, refactor and simplify the corresponding functions (and finally
remove the chat between long inactive developers in the comments!)
Fix #316
2017-03-19 10:17:21 +01:00
Daniel Schemala
56cb06e73e
Fix <BS> under Windows
...
It didn't do anything after you hit a link which jumps inside a buffer.
This makes me realize that there are probably a lot more issues under
Windows.
2017-03-01 21:38:14 +01:00
EinfachToll
d5ed58f763
Fix a few regression bugs
...
Ref #256
Fix #301
2017-02-16 21:54:10 +01:00
EinfachToll
be79f68a92
Merge pull request #285 from MichaelThessel/dev
...
Added config option to allow for newlines in text when exporting to HTML
2017-01-30 20:43:26 +01:00
Michael F. Schönitzer
c857be2f87
Allow g:vimwiki_listsyms be larger than 5 elements (Issue #275 ) ( #279 )
...
* Allow g:vimwiki_listsyms to be of arbitrary size
* Update documentation
* Add support for arbitrary size listsyms to vimwikihtml
2017-01-22 20:16:10 +01:00
EinfachToll
31760a7ef7
Fix a few regression bugs
...
Ref #256
2017-01-16 22:10:28 +01:00
EinfachToll
fea76ace23
Use new access functions for buffer-local variables
...
Ref #256
2017-01-13 16:33:41 +01:00
EinfachToll
ce5c822072
Start refactoring the rest -- part 6
...
Ref #256
2017-01-12 21:45:09 +01:00
EinfachToll
b61ff8b5ee
Start refactoring the rest -- part 6
...
Ref #256
2017-01-11 22:12:33 +01:00
EinfachToll
1806d3edfa
Start refactoring the rest -- part 5
...
Ref #256
2017-01-07 21:51:15 +01:00
Michael Thessel
8507c95716
Added config option to allow for newlines in text when exporting to HTML
2017-01-05 22:17:37 -08:00
EinfachToll
4a96eb4d32
Remove two undocumented and probably buggy features
2017-01-04 22:10:10 +01:00
EinfachToll
203fb5b430
Start refactoring the rest -- part 4
...
Ref #256
2017-01-04 21:53:03 +01:00
EinfachToll
b82245b09e
Start refactoring the rest -- part 3
...
Ref #256
2016-12-31 20:47:19 +01:00
EinfachToll
7c98ce3934
Start refactoring the rest -- part 2
...
Ref #256
2016-12-28 22:17:08 +01:00
EinfachToll
c9104fc2c1
Start refactoring the rest -- part 1
...
Ref #256
2016-12-25 21:35:56 +01:00
EinfachToll
250fd3c47b
Use new access functions for wiki-local variables -- part 5
...
Ref #256
2016-12-23 20:05:53 +01:00
EinfachToll
2329d602a7
Use new access functions for wiki-local variables -- part 4
...
Ref #256
2016-12-22 21:00:19 +01:00
EinfachToll
f497a4abc7
Use new access functions for wiki-local variables -- part 3
...
Ref #256
2016-12-22 19:55:20 +01:00
EinfachToll
61910cd93a
Use new access functions for wiki-local variables -- part 2
...
Ref #256
2016-12-22 19:12:03 +01:00
EinfachToll
6221861957
Use new access functions for wiki-local variables -- part 1
...
Ref #256
2016-12-22 18:16:05 +01:00
EinfachToll
23ee20887a
Use new access functions for global variables -- part 3
...
Ref #256
2016-12-21 22:11:44 +01:00
EinfachToll
49bdf7fa47
Use new access functions for global variables -- part 2
...
Ref #256
2016-12-21 21:28:48 +01:00
EinfachToll
e6d997867a
Use new access functions for global variables -- part 1
...
Ref #256
2016-12-21 19:43:34 +01:00
EinfachToll
6b34e954e8
Add new functions for variable access
...
Ref #256
2016-12-21 17:09:25 +01:00
EinfachToll
0966031234
Highlight math not using TeX but TeX math
...
Fix #236
2016-11-24 16:46:56 +01:00
EinfachToll
2c9df65644
Merge pull request #251 from jconroy77/markdown_nested_syntax
...
Automatic detection of nested syntaxes in markdown
2016-11-23 21:49:37 +01:00
John Conroy
8534219694
Automatic detection of nested syntaxes in markdown
2016-10-31 15:35:57 -04:00
EinfachToll
3f66117894
When sorting tags, always match case because Vim expects it
2016-05-23 22:02:03 +02:00
EinfachToll
722d6e4b9a
'+' on a raw url surrounds it with brackets
...
Fix #188
2016-03-21 09:02:22 +01:00
EinfachToll
0001b3cda9
Copy CSS file also with :Vimwiki2HTML
2016-03-19 22:01:25 +01:00
EinfachToll
68cdfe36df
Unify all messages to the user
2016-03-19 21:29:42 +01:00
EinfachToll
4c2e13a284
Skip preformatted and math text while scanning for headers
...
Fix #191
2016-03-18 15:18:23 +01:00
EinfachToll
4bd0690a52
Simplify some regexes
2016-03-18 15:16:59 +01:00
EinfachToll
128581babc
Merge remote-tracking branch 'optik-aper/master' into dev
2016-03-01 10:46:29 +01:00
Michael
c2d1869227
Escape tilde (~) in path names otherwise regex comparison gets upset
2016-02-29 16:12:56 -05:00
EinfachToll
6f579711ab
Merge pull request #186 from lotabout/master
...
fix #64 : markdown style link support
2016-02-22 11:42:42 +01:00
zhang_ji
6d96516ab4
enhance #64 : generate same link type for visual mode and normal mode
2016-02-22 16:00:37 +08:00
EinfachToll
0ea8d85b7f
Sort links in the list generated by VimwikiGenerateTags
...
Fix #192
2016-02-19 11:32:58 +01:00
EinfachToll
5f9dbca89c
Small cleanup of the merged PR
...
Ref #187
2016-01-28 10:52:40 +01:00
EinfachToll
2aeaea5f0d
Merge pull request #187 from mMontu/nested
...
Dynamically detect nested syntaxes (fix #128 )
2016-01-28 10:29:53 +01:00
mMontu
fc947523b0
Dynamically detect nested syntaxes ( fix #128 )
2016-01-27 10:14:49 -02:00
EinfachToll
91a004bc23
Remove superfluous debug message
2016-01-25 13:47:41 +01:00
EinfachToll
78cef05fa3
Fix HTML conversion of headers containing links
...
Fix #183
2016-01-22 13:32:01 +01:00
EinfachToll
ff90e980de
Locate the .tags file correctly on windows
...
Ref #184
2016-01-21 13:27:08 +01:00
EinfachToll
bb3026dba8
Include subdir in wiki page name when rebuilding tags
...
Ref #184
2016-01-21 13:25:04 +01:00
zhang_ji
b0cc6ff0de
fix #64 : markdown style link support
2016-01-18 16:51:08 +08:00
Ivan
f9045a40e0
Merge pull request #169 from t7ko/bugfix/tags-sorted-in-wrong-order
...
Fix sorting order of tags.
2015-12-08 16:31:01 +03:00
EinfachToll
9be96884ba
Remove g:VimwikiLog and the timing stuff
...
For profiling, there is Vim's :profile command
2015-12-07 12:29:25 +01:00
EinfachToll
2a70e1517e
Remove g:vimwiki_debug, which probably nobody used
2015-12-07 12:27:32 +01:00
EinfachToll
c565b38bb6
Remove some unreachable code
2015-12-07 12:25:17 +01:00
Ivan
37aae9c3ce
Merge pull request #170 from t7ko/bugfix/cursor-moves-on-toc-update
...
Bugfix: cursor moves on TOC update, TOC fold gets closed.
2015-12-04 14:36:26 +03:00
Ivan Tishchenko
c2b0fd843b
Fix bug: saving a page would err out trying to open fold if folds are disabled or are configured differently.
2015-12-04 15:33:03 +04:00
Ivan Tishchenko
77fca9080c
Fix code review notes on 'norm zo':
...
- Only issue 'zo' if there is any fold at all.
- Correct possible bug, code was using 'start_lnum' var, but it
was changed/incremented which could lead to wrong results.
- Use bang with norm, to prevent user re-mapping interfere with
standard ones.
2015-12-01 22:41:50 +03:00
EinfachToll
3eb20a6c98
Fix regression bug: Normalize paths if settings changed after startup
...
Fix #171
2015-11-30 13:33:22 +01:00
Ivan Tishchenko
5247de4a0b
Prevent scrolling of large folds while filesave updates TOC.
...
During TOC update, screen sometimes scrolls -- most often I've seen this
when I'm working inside large enough fold (does not fit in one screen).
Fix uses winsaveview()/winrestview() instead of getpos()/setpos().
Winview pair would also manage scroll position on screen, not just
cursor position in text.
2015-11-27 03:20:44 +03:00
Ivan Tishchenko
0d3f526a88
Preserve fold open/close status of the TOC on save.
...
Since TOC is completely recreated, Vim loses its fold open/close status.
If your TOC was open, after you save it gets closed.
Fix will save fold status, and restore it after TOC is updated.
2015-11-27 03:13:25 +03:00
Ivan Tishchenko
d265df42f5
Prevent cursor moving up/down when TOC changes.
...
getpos()/setpos() combination does not account for changes of lines
count. So if you do getpos, then remove lines _above_ it, then do
setpos -- it's going to be off.
The fix calculates the "diff", and adjusts saved position for that diff
(if any).
2015-11-27 03:05:39 +03:00
Ivan Tishchenko
7df0405c4e
Fix sorting order of tags.
...
Before the fix, tags file sorting was done alphabetically. That would
treat line numbers as strings, and so, for example, if the same tag was
placed on the same page on lines, say, 9 and 114, the order you would
get, 114 would go first, instead of 9.
Fix adds proper entries comparison to the sort function.
2015-11-27 01:50:41 +03:00
Hongbo Liu
399e9a4512
follow url silently in mac
2015-11-26 11:54:32 +08:00
EinfachToll
c799d61b19
Clean up the help file (part 3)
...
Notably, put my name in the list of contributors. Well, and some other
names, too.
2015-11-23 13:10:46 +01:00
EinfachToll
b794a3bd3b
Restrict the distance of tag to header to two lines
...
Suffices, I think.
Also, clean the code a bit and correct the help file.
Ref #85
2015-11-21 21:20:33 +01:00
EinfachToll
ad4a12612c
When doing VimwikiCheckLinks, check if index files exist
...
Also, clean the code a bit
2015-11-20 11:50:31 +01:00
EinfachToll
3901b7566b
Fix uneven indentation of list items with checkboxes in HTML
2015-11-13 14:40:55 +01:00
EinfachToll
0931685ba2
Merge branch 'tags' into dev
...
Ref #85
2015-11-12 11:56:03 +01:00
EinfachToll
52634a6753
add HTML processing for tags
...
Ref #85
2015-11-10 14:37:25 +01:00
EinfachToll
642a94ffae
:VimwikiGenerateTags now updates a potentially existing listing
...
instead of adding it to the end.
Ref #85
2015-11-09 15:45:56 +01:00
EinfachToll
2afff4c411
Detect the OS correctly
...
Fix #158
2015-09-14 15:11:14 +02:00
EinfachToll
7aa273fd7c
A file tag must be at the very top of the file
...
Ref #85
2015-06-10 22:08:40 +02:00
EinfachToll
b808dcfdc1
Simplify a function call
2015-06-10 22:00:07 +02:00
EinfachToll
d28b615286
two small things
...
Ref #85
2015-05-15 11:20:44 +02:00
EinfachToll
a2a28a2d91
Make <BS> work also when the user jumped to a tag
...
Ref #85
2015-05-15 11:04:53 +02:00
EinfachToll
3a333881d8
When jumping to anchor, tags have highest precedence
...
Otherwise, in the list generated by VimwikiGenerateTags, Vimwiki would
jump to the header of the concerning tag rather than to the tag
Ref #85
2015-05-15 11:03:14 +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
EinfachToll
6846459255
Fix regression bug: correctly convert links like [[http:...]]
...
Ref #123
2015-05-12 15:54:53 +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
baf3be038a
Fix wrong highlight of directories when maxhi is set
2015-04-30 13:52:33 +02:00
EinfachToll
77607f635a
slightly change the semantics of file: and local: scheme
2015-04-29 14:59:10 +02:00
Ivan Tishchenko
fd66db5551
Merge remote-tracking branch 'upstream/dev' into upstream/tags
2015-04-15 22:44:58 +03:00
EinfachToll
99494655c2
Support for absolute links when converting to HTML
...
Also, Fix #124
2015-04-09 14:48:26 +02:00
EinfachToll
62da755350
Fix for #122 , don't claim ownership over directories
2015-04-09 14:29:50 +02:00
EinfachToll
6607a3f641
Force wiki files to have filetype=vimwiki
...
Fix #122
2015-03-31 14:31:58 +02:00
Ivan Tishchenko
c543f8cfb1
Fixed issue with tags in subfolders not being saved in tags file properly (subdir name lost)
2015-03-25 21:44:44 +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
4ab0bdf3da
Don't trigger QuickFixCmdPost autocmd unnecessarily
...
Fix #121
2015-03-23 13:25:39 +01:00
EinfachToll
f823589076
make VimwikiCheckLinks also find nonexisting directories
...
Fix #120
2015-03-19 13:22:28 +01:00
EinfachToll
d20e03d660
Make absolute wiki links work with wikiN: scheme
...
Ref #105
2015-03-19 09:05:19 +01: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
55adfca6a1
Rename a function, fixes previous commit
2015-02-24 09:39:03 +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
41bce9ae42
Remove apparently unused function
2015-02-09 21:06:04 +01:00
EinfachToll
e4de62b7d5
turn all =~ into =~# or =~?; !~ analogically
2015-02-09 20:58:05 +01:00
EinfachToll
6716ba709f
turn all != into !=# or !=? when comparing strings
2015-02-09 20:24:18 +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
EinfachToll
b240b52a3f
Small fix for #112
...
Ref #111
2015-02-09 09:20:30 +01:00
EinfachToll
bf1eb62c32
Merge pull request #112 from t7ko/completion-fix-issue111
...
Use case sensitive/insensitive path comparison depending on the OS
2015-02-09 09:18:21 +01:00
EinfachToll
827b3a8974
Unify yes/no question
2015-02-07 22:12:32 +01:00
Ivan Tishchenko
68b82a15c6
Adjust case sensitivity of path comparison depending on the OS
2015-02-07 01:50:04 +03:00
Ivan
13bdb43a54
Merge pull request #113 from t7ko/auto-cd
...
Option to enable auto-change-dir when opening a wiki index page with <Leader>ww
2015-02-04 23:58:04 +03:00
EinfachToll
e34e160a34
Merge pull request #104 from t7ko/autoload-fix
...
Don't source base.vim at Vim startup
2015-02-04 14:36:23 +01:00
EinfachToll
3d3586417d
Remove an option that is written but never read
2015-02-03 13:53:56 +01:00
Ivan Tishchenko
10293f60d7
Use case insensitive path comparison for vimwiki#path#relpath()
2015-02-03 13:34:07 +04:00
EinfachToll
de11957fca
Use script local variable instead of buffer local
2015-02-02 10:35:32 +01:00
Ivan Tishchenko
d2ff96717e
Encapsulate tag path into a function; expand paths in it to make them absolute
2015-01-29 13:48:15 +04:00
Ivan Tishchenko
0511b51a5f
Implement auto-chdir option
2015-01-24 10:49:20 +03:00
Ivan Tishchenko
17cfd6e613
Modify patterns and code -- tag colons must be either at line boundary, or surrounded with white spaces
2015-01-23 23:13:27 +03:00
Ivan Tishchenko
f5e1cbe721
Move get-known-sytaxes back into base.vim
2015-01-23 22:41:36 +03:00
EinfachToll
43cad87426
Merge pull request #106 from t7ko/get_anchors-bugfix
...
Bold anchors were duplicated in get_anchors() results
2015-01-12 10:06:09 +01:00
EinfachToll
8f24644967
Remove unused function parameter
2015-01-12 09:34:59 +01:00
Ivan Tishchenko
b912e4e3c7
Update :VimikiGenerateTags -- use tags as anchors in links
2015-01-10 17:10:18 +03:00
Ivan Tishchenko
d72ef4dd70
Treat tags as anchors (wikilink completion, jumping to)
2015-01-10 16:39:11 +03:00
Ivan Tishchenko
28af35bcfe
Fix collecting anchors -- bold anchors were added to the list twice
2015-01-10 16:12:40 +03:00
Ivan Tishchenko
b99a3dc988
Convert file format to CTAGS. Update docs
2015-01-10 01:44:25 +03:00
Ivan Tishchenko
8a0433dec5
Fix error 'metadata file not found' when tag functions are called first time
2015-01-10 00:51:37 +03:00
Ivan Tishchenko
66626ad415
Move two helper functions to plugin file out of autoload. Plugin would have called them at startup anyway, defeating the whole purpose of autoload file.
2015-01-10 00:23:21 +03:00