Commit Graph

833 Commits

Author SHA1 Message Date
mMontu
777569f95f Workaround for slow folding methods (issue #225) 2016-07-12 11:41:44 -03:00
EinfachToll
3f66117894 When sorting tags, always match case because Vim expects it 2016-05-23 22:02:03 +02:00
EinfachToll
4831384ab9 Merge branch 'dev' 2016-05-18 22:07:49 +02:00
EinfachToll
3a5a5ef0ad Prefer the value of nested_syntaxes over detected syntax 2016-05-17 20:29:59 +02:00
EinfachToll
f567009329 Merge pull request #201 from irfansharif/patch-1
fix a tag in the doc
2016-04-25 08:52:40 +02:00
irfan sharif
7e3234e0bf fix vimwiki.txt intro tag
previously redirected to `CONTENTS` page, changed to redirect to `Intro` page
2016-04-24 16:45:21 -04:00
EinfachToll
129c281810 Update changelog 2016-03-31 12:10:27 +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
4956976bb6 Some fixes in the doc 2016-03-19 19:55:08 +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
a2888692fd Option for automatic detection of nested syntaxes 2016-01-27 13:30:30 -02: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
1db5924271 Update the changelog 2016-01-21 13:27:43 +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
EinfachToll
949b29b694 Fix tags file path when 'path' contains spaces
Fix #176
2015-12-14 10:36:16 +01:00
EinfachToll
f31550badb Merge pull request #165 from Tomsod/dev
Add command for opening yesterday's diary
2015-12-11 11:49:45 +01:00
EinfachToll
3bd3d9b860 Update changelog 2015-12-10 16:19:26 +01:00
EinfachToll
e0d72759a6 Remember kids: always use :normal! with the bang in plugins
Fix #175
2015-12-10 16:07:36 +01: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
EinfachToll
7124a9be97 Add a note to the change log
Hopefully not too late.
Ref #173
2015-11-30 13:13:06 +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
EinfachToll
8231433bad Merge pull request #168 from hiberabyss/macurl
follow url silently in mac
2015-11-26 09:32:51 +01:00
Hongbo Liu
399e9a4512 follow url silently in mac 2015-11-26 11:54:32 +08:00
EinfachToll
2f95a6a651 Clean up the help file (part 4) 2015-11-25 10:43:26 +01: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
da899311c7 Clean up the help file (part 2)
Notably, complete the changelog.
2015-11-22 20:42:21 +01:00