Commit Graph

171 Commits

Author SHA1 Message Date
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
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