Commit Graph

394 Commits

Author SHA1 Message Date
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
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
c7436a44cf Reading metadata file; filtering by page name 2015-01-10 00:01:09 +03:00
Ivan Tishchenko
6cafc97c9c Implement saving metadata to file 2015-01-10 00:01:05 +03:00
Ivan Tishchenko
2d0616343d Implemented tags scan function (go over range of lines and compose list of tag entries and their metadata 2015-01-10 00:00:57 +03:00
Ivan Tishchenko
19cc1b873a Added placeholders for tags on-page-save analysis 2015-01-10 00:00:53 +03:00
mMontu
edb72680a1 Use backward compatible version of shiftwidth() 2015-01-08 14:14:16 -02:00
mMontu
b89c22fe03 Use shiftwidth() instead of &shiftwidth
Using &shiftwidth makes VimwikiListChangeLvl misbehave when this option is set
to 0, which is a default configuration of [DetectIndent](https://github.com/roryokane/detectindent).
2015-01-08 11:20:34 -02:00
EinfachToll
2804a4495d Don't process placeholders inside preformatted text
Fixes #93
2014-12-16 15:52:53 +01:00
EinfachToll
37ef87b930 Suppress an annoying error message when it's not the right time 2014-12-14 14:49:06 +01:00
EinfachToll
f419b04346 :VimwikiBacklinks now considers subdirs and other wikis 2014-12-07 11:59:56 +01:00
EinfachToll
53ecfdcc68 Fix and clean resolution of links 2014-12-07 11:58:08 +01:00
EinfachToll
e5c5a1420d :VimwikiGenerateLinks also generates links for subdirectories 2014-12-04 21:27:02 +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
eb02e0be9a Move some file system related functions to path.vim 2014-12-04 21:12:04 +01:00
EinfachToll
a091bd5a76 Remove some pointless comments 2014-12-04 21:03:49 +01:00
EinfachToll
c7366625a3 Remove the grammar based HTML converter -- too slow 2014-12-04 21:00:25 +01:00
EinfachToll
19465760b4 Fix the menu entries which are sometimes not shown correctly 2014-11-26 14:35:38 +01:00
EinfachToll
a3e06e4e8d Disable updating of TOC while in diff mode 2014-11-12 11:13:14 +01:00
EinfachToll
9fa06803d6 Merge pull request #83 from t7ko/autocompletion
Autocompletion for VimwikiGoto command.
2014-11-12 09:11:00 +01:00
Ivan Tishchenko
f47f3c4e26 Removed unused functions; added a few more comments 2014-11-11 23:12:03 +03:00
EinfachToll
d8853c5a34 Fix and simplify the collection of anchors 2014-11-11 13:43:44 +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
EinfachToll
a579e258a1 Merge pull request #77 from lervag/issue66
Improved normalize links in diary (fixes #66)
2014-11-10 09:14:23 +01:00
Ivan Tishchenko
f7df798b25 Support autocompletion of link argument for VimwikiGoto command 2014-11-07 00:02:37 +03:00
Ivan Tishchenko
395cfec299 Extract links list generation to an individual function 2014-11-06 23:52:26 +03:00
Karl Yngve Lervåg
bb815bcdd8 Replaced all ¦¦ by | 2014-11-06 20:01:16 +01: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
fb5ea2886b Merge remote-tracking branch 'patrickdavey/check_for_binary' into dev 2014-10-16 11:42:38 +02:00
Patrick Davey
c1a5bb51ad Checks if custom_wiki2html is executable on PATH 2014-10-14 15:39:46 +13:00
Karl Yngve Lervåg
f02fbffaf1 Fixed more issues. 2014-09-17 23:26:16 +02:00
Karl Yngve Lervåg
ec4066ad83 Solved some minor issues 2014-09-17 23:10:49 +02:00
EinfachToll
24d690f32d Use relative paths in omnicomplete
Fix #70
Ref #72
2014-09-16 10:18:40 +02:00
Karl Yngve Lervåg
e8ad164fb0 Improved normalize links in diary (fixes #66) 2014-09-15 21:44:32 +02:00
EinfachToll
21b3f63a47 Merge remote-tracking branch 'chelmertz/dev-doctype-html5' into dev 2014-09-12 12:16:41 +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
4da4f19611 HTML5 doctype for HTML output
Signed-off-by: Carl Helmertz <chelmertz@op5.com>
2014-09-12 11:31:06 +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
f109e0e488 Fix regression bug: opening URLs didn't work
Fix #68 and #73
2014-09-11 10:36:44 +02:00
EinfachToll
b954923cbf Fix jumping to an anchor in the very first line 2014-08-18 09:38:45 +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
1b6b50a3b7 Don't break after bold text in HTML output 2014-08-14 13:49:45 +02:00
EinfachToll
41ddc28c9e Don't interpret autocomplete start string as regexp 2014-08-14 13:08:24 +02:00
EinfachToll
77bc1b709b Remove nonascii bullet symbol because of encoding probs 2014-07-30 21:26:07 +02:00
EinfachToll
a099a2cf3c Disable 'shellslash' on Windows to avoid problems
Probably fix #54
2014-07-04 11:23:28 +02:00
EinfachToll
4a04fc7519 Recognize markdown links when renaming wiki file
Fix #52
2014-06-19 15:36:11 +02:00
EinfachToll
ab36532f75 Tables can now be embedded in lists
Solves #50
2014-06-05 09:42:59 +02:00
Alexey Radkov
920f41b318 fixed get_cells() FSM and gqq command
- get_cells() FSM correctly treats unclosed quotes now,
- fixed gqq command: now it aligns all the table
- proposed 'fast' variant of gqq: gq1 that aligns current + 2 above rows
2014-05-09 12:47:21 +04:00
Alexey Radkov
72ad6d1b16 minor stylistic change 2014-05-04 20:46:00 +04:00
Alexey Radkov
4d1bb91dbe small fix in s:get_aligned_rows() 2014-05-04 18:42:00 +04:00
Alexey Radkov
cd25233cc8 fast <Tab> and <S-Tab> in Insert mode
this also fixes Tab navigation in a new added line
2014-05-04 17:09:42 +04:00
Alexey Radkov
b79977d6b8 further large table optimizations
1. s:get_aligned_rows(): getting 2 last rows is enough for having been
   formatted tables
2. vimwiki#tbl#get_cells(): using faster strpart() instead concatenating
   every new character into variables cell and quote
3. checking by getline() whether the line was changed before setline()
   does matter on slower computers
2014-05-04 15:46:19 +04:00
EinfachToll
9f92a375c1 Faster formatting of large tables
Ref #44
2014-04-30 12:15:51 +02:00
EinfachToll
88b61f4e30 Fix jumping to anchor sometimes not working 2014-04-14 13:11:26 +02:00
EinfachToll
8167c65499 Fix appending '#' to links
Ref #40
2014-03-13 16:33:39 +01:00
EinfachToll
3dbac3a8b7 Don't htmlize stuff inside pre tags
Ref #39
2014-03-10 10:01:32 +01:00
EinfachToll
a036ca54c6 Fix 424: External links with #, % don't work under Linux
Use the additional parameter for shellescape() only for system calls of
the form execute '!...', not for system(...).
2014-03-03 09:19:59 +01:00
EinfachToll
ddab77bb8f Fix spontaneous change of list symbol 2014-03-03 09:15:38 +01:00
EinfachToll
2eccebc7ea Fix list item containing only preformatted text behaving not properly 2014-03-03 09:13:41 +01: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
b1362ac161 VimwikiBacklinks finds only links to the current file
But doesn't take into account markdown style links
Ref #25
2014-02-18 14:52:35 +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
e6735215ed Reactivate and fix html.vim to make it work with lists 2014-02-03 11:41:55 +01:00
Hector Arciga
69c17a5fec Fix for visual mode link creation 2014-01-08 19:10:20 -06:00
EinfachToll
41d46eb42a Fix CR not working in one circumstance 2014-01-06 13:56:10 +01:00
EinfachToll
68ae7d57fb Some more small cleanups 2014-01-06 13:54:11 +01:00
EinfachToll
9810ff1c55 g:vimwiki_listsyms is a string again, not a list
this is to be backwards compatible
we still need to split it into a list internally, because indexing
doesn't work for unicode symbols
2014-01-06 13:49:29 +01:00
EinfachToll
96dfabb03b When pressing S-Tab, always jump to prev link
not to the start of the link the cursor is on
2014-01-06 13:37:33 +01:00
EinfachToll
f5634c92e1 fold also multiline items (folding is still slow) 2014-01-06 13:32:45 +01:00
EinfachToll
072ba175f7 More functions moved around 2014-01-06 13:30:33 +01:00
EinfachToll
19e4cf90ef Fix cursor misplacement after CR in front of space 2014-01-06 13:07:56 +01:00
EinfachToll
ea95f3fc36 Indent after colon only if at end of line
because there are problems otherwise
2014-01-06 13:06:31 +01:00
EinfachToll
373ad1cee5 clean up lst.vim, move functions around
no actual change in behavior or so
2014-01-06 13:03:07 +01:00
EinfachToll
9821aaf528 (not complete) integration of peggi for html conversion 2014-01-06 12:54:34 +01:00
EinfachToll
3be4ba8fd2 Of course, I forgot the a: again
References #24
2013-11-06 13:46:12 +01:00
EinfachToll
b37db4e109 Basic support for remote drectories via netrw
References #24
2013-11-06 13:34:45 +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
a389d7ebd7 Make i_<c-t> work in an empty line 2013-10-29 13:06:02 +01:00
EinfachToll
0be8924759 Insert new item at the right level on <S-CR> 2013-10-29 13:03:10 +01:00
EinfachToll
eb44af27c2 clear a [.] or [o] or [O] item if it has no more children after moving 2013-10-29 12:58:03 +01:00
EinfachToll
c09d31d1a8 a new list item is inserted at the right level
when pressing i_<c-l><c-m>
2013-10-16 12:20:08 +02:00
EinfachToll
391cbd827d Refactor ugly functions
to more ugly ones ;)
2013-10-16 12:18:50 +02:00
Maxim Kim
3eaaf12b2d Merge branch 'new-lists' of github.com:vimwiki/vimwiki into new-lists 2013-09-08 14:53:42 +04:00
Maxim Kim
8a46108ef6 Issue #13: VimwikiRenameLink don't update links with dot. 2013-08-17 20:10:00 +04:00
Maxim Kim
b09077c908 Issue #12: multiple diary with calendar
Unfortunatly there is no way to update calendar signs when wiki is
changed. We could convince calendar mainteiner to provide a hook.
2013-08-15 19:21:08 +04:00
EinfachToll
b61b74d037 Fix computation of level of items when using Media syntax 2013-07-29 10:51:50 +02:00
EinfachToll
c3ba10ca12 Fix weird behavior when pressing CR and Spaces follow
That's because Vim silently deletes the trailing whitespaces when
pressing enter
2013-07-29 10:42:13 +02:00
EinfachToll
6317912520 Fix checkboxes not getting updated in some cases 2013-07-29 10:36:43 +02:00
EinfachToll
911f2d4a8c Never alter a checkbox if it has no children with checkboxes 2013-07-24 13:07:42 +02: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
EinfachToll
b26591437b Revert more of my earlier commit in order to fix #6 2013-07-22 12:54:03 +02:00
EinfachToll
5b2f01094b normal behavior of i_<C-T> and i_<C-D> when not on list item 2013-07-22 10:33:32 +02:00
EinfachToll
0822759ac3 Clean up messy function and fix i_<S-CR> sometimes not working 2013-07-22 10:30:30 +02:00
EinfachToll
8c5760ae98 Simplify detection if two markers have same kind
Ref #5
2013-07-22 10:19:54 +02: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
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
Maxim Kim
a405c7317a Do not add multiple * on gll
Lists in default vimwiki syntax has no multiple * as bullet point.
This behaviour could be implemented for media syntax.
2013-07-11 23:23:47 +04:00
EinfachToll
813b3bb5a3 Fix marker adjustment on gll 2013-07-09 13:02:37 +02:00
EinfachToll
8744a31031 support for numbered lists and much other list stuff 2013-07-08 11:37:35 +02:00
Maxim Kim
5faf884dc6 Add missing helper markdown converter from google code. 2013-06-17 07:50:44 +04:00
mwcz
a0bd07e629 pull in vimwiki 2.1 from vim.org 2013-04-21 13:19:54 -04:00
Maxim Kim
d19cc85a71 Version 2.0.1.stu
* Follow (i.e. open target of) markdown reference-style links.
  * Bug fixes.
2012-08-08 01:14:35 -05: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
78ee71394a Version 1.1.1
Follow up bugfix release.
* FIX: Issue 122: Dot character in vimwiki's directory path isn't escaped.
* FIX: Issue 123: Where is Vimwiki2HTML and other commands? Sometimes filetype is not set up to vimwiki.
* FIX: Issue 124: Highlight group not found: Normal
0001-01-01 00:00:00 +00: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
Maxim Kim
8e53e53ffe Version 1.0
* NEW: Issue 41: Table cell and column text objects. See `vimwiki-text-objects`.
* NEW: Issue 42: Commands to move table columns left and right. See `:VimwikiTableMoveColumnLeft` and `:VimwikiTableMoveColumnRight`.
* NEW: Issue 44: `<S-Tab>` should move cursor to the previous table cell.
* NEW: Issue 45: It should be possible to indent tables. Indented tables are centered in html.
* NEW: Issue 46: Do not htmlize some wiki pages (blacklist). New placeholder is added: `%nohtml`. See `vimwiki-nohtml`.
* FIX: Issue 47: Lists aren't HTMLized properly.
* FIX: Issue 48: With autochdir it is impossible to have path_html such as `d:\vimwiki\html\`
* FIX: Issue 49: Table is not HTMLized properly at the end of wiki page.
* FIX: Issue 50: Inline formatting is not performed in table cells.
* FIX: Issue 51: Cannot insert '-' (minus) into table cells of the first column.
* FIX: Issue 52: Table cell width is incorrect when double wide characters are used (ie. Chinese). Check `g:vimwiki_CJK_length`.
* NEW: Issue 53: Wiki markup can not nested. (Use links and inline markup in Headers).
* NEW: Issue 54: Highlight for placeholders.
* NEW: Issue 56: Directory indexes. See `g:vimwiki_dir_link` option and `:VimwikiGenerateLinks` command.
* NEW: Issue 58: Html new lines with `<br />`. Could be inserted with `<S-CR>` in insert mode.
* FIX: Issue 59: List item's text can't be started from `*`.
* NEW: Issue 60: Links inside completed gtd-items.
* NEW: Issue 61: Headers numbering. See `g:vimwiki_html_header_numbering` and `g:vimwiki_html_header_numbering_sym` options.
* FIX: Issue 63: Table cannot have leading empty cells in html.
* FIX: Issue 65: Table separator is not htmlized right if on top of the table.
* FIX: Issue 66: Table empty cells are very small in html.
* FIX: Issue 67: Wrong html conversion of multilined list item with bold text on the start of next line.
* FIX: Issue 68: auto-indent problem with langmap.
* FIX: Issue 73: Link navigation by Tab. "Escaped" wiki-word should be skipped for navigation with `<tab>`.
* FIX: Issue 75: `code` syntax doesn't display correctly in toc.
* FIX: Issue 77: Diary index only showing link to today's diary entry file for extensions other than '.wiki'.
* FIX: Issue 79: Further calendar.vim integration -- add sign to calendar date if it has corresponding diary page.
* FIX: Issue 80: Debian Lenny GUI Vim 7.2 has problems with toggling inner todo list items.
* FIX: Issue 81: Don't convert `WikiWord` as a link in html when `let g:vimwiki_camel_case = 0`
0001-01-01 00:00:00 +00:00
Maxim Kim
bb1f5b3c46 Version 0.9.9
* NEW: Diary. Help in making daily notes. See ':h vimwiki-diary'. Now you
  can really easy add information into vimwiki that should be sorted out
  later.
* NEW: Tables are redesigned. Syntax is changed. Now they are
  auto-formattable. You can navigate them with <tab> and <cr> in insert
  mode. See 'vimwiki-syntax-tables' and 'vimwiki-tables' for more details.
* NEW: Keyword STARTED: is added.
* NEW: Words TODO:, DONE:, STARTED:, XXX:, FIXME:, FIXED: are highlighed
  inside headers.
* FIX: Export to html external links with 'file://' protocol. Ex:
  '[file:///home/user1/book.pdf my book]'.
* FIX: Menu is corrupted if wiki's path contains spaces.
* FIX: Settings 'wrap' and 'linebreak' are removed from ftplugin. Add them
  into your personal settings file '.vim/after/ftplugin/vimwiki.vim' if
  needed.
* NEW: Headers are highlighted in different colors by default.  See ':h
  g:vimwiki_hl_headers' to turn it off.
* FIX: Issue 40: Links with russian subdirs don't work.
* NEW: It is now possible to generate HTML files automatically on page
  save. See ':h vimwiki-option-auto_export'.
0001-01-01 00:00:00 +00:00
Maxim Kim
3393774904 Version 0.9.8
* NEW: Rename g:vimwiki_fold_empty_lines to g:vimwiki_fold_trailing_empty_lines.
* NEW: One can use - along with * to start unordered list item.
* NEW: List items could be started from the first column.  As a result some
  limitations appeared:
    * a space after *, - or # for a list item is mandatory.
    * g:vimwiki_fold_trailing_empty_lines if set to 0 folds one trailing
      empty line.
* NEW: Folding is off by default. Use g:vimwiki_folding to enable it.
* NEW: Speed up vimwiki's folding a bit. Should lag a bit less in a long todo lists.
* NEW: Centered headers. Start header with at least one space to make it html centered.
* NEW: Change in default css: header's colors.
* NEW: Vimwiki is aware of GetLatestVimScripts now.
* FIX: Use <del> tag instead of custom <span class="strike"> in html.
* FIX: There are no text styling in htmlized quoted text.
* FIX: set default value of g:vimwiki_fold_lists to 0 as written in this help.
* FIX: Issue 33: Folded list items have wrong indentation when 'tabs' are used.
* FIX: Issue 34: vimwiki#subdir got wrong dir when VimwikiGet('path') is a
  symbolic link. Thanks lilydjwg for the patch.
* FIX: Issue 28: todo-list auto-indent enhancement. New item should always be unchecked.
* FIX: Issue 36: Change the name of the :Search command to :VimwikiSearch
  as it conflicts with MultipleSearch. Alias :VWS is also available.
* NEW: You can generate 'Table of contents' of your wiki page. See :h vimwiki-toc for details.
0001-01-01 00:00:00 +00:00
Maxim Kim
cac8365402 Version 0.5
* DONE: vimwiki default markup to HTML conversion improved.
  * DONE: Added basic `GoogleWiki` and `MediaWiki` markup languages.
  * DONE: Chinese `[[complex wiki words]]`.
0001-01-01 00:00:00 +00:00
Maxim Kim
03a25a7975 Version 0.4
* DONE: vimwiki=>HTML converter in plain vim language.
  * DONE: Plugin autoload.
0001-01-01 00:00:00 +00:00