Commit Graph

845 Commits

Author SHA1 Message Date
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
c036ac34c9 Merge branch 'larryhynes-patch-1' into dev 2013-10-25 09:43:00 +02:00
Larry Hynes
5038b319a2 Added ` around <leader> to make it visible, added l to folow. 2013-10-24 17:21:50 +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
a4e168fb6e Fix a regexp that is matched really slow in Vim 7.4
This is a bug in Vim's new regexp engine I already reported.
It causes a remarkable slowdown.
2013-08-13 09:11:59 +02:00
EinfachToll
b170eb52f3 Fix <CR> in a table leaving insert mode 2013-07-30 09:56:33 +02:00
EinfachToll
a3a499080b Further update for the documentation 2013-07-29 10:57:07 +02: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
c6e110a368 Code clean up
Remove unused list functions from ftplugin.
2013-07-24 11:30:29 +04: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
6805438779 Change some list mappings to have prefix <C-L>.
Remove <C-B>, <C-S> and <C-A> mappings. Use <C-L><C-M>, <C-L><C-K>,
<C-L><C-J> instead.
2013-07-16 11:27:44 +04:00
Maxim Kim
d873113118 Typo. 2013-07-14 22:19:22 +04:00
Maxim Kim
aa6849082c Update list mappings. 2013-07-14 22:16:16 +04: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
Maxim Kim
a36bbbb54a Add some list bindings. 2013-07-11 19:04:18 +04:00
Maxim Kim
2e3883c851 Level decrease binding was wrong. 2013-07-11 18:24:28 +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
1c88deeee0 Issue 415: No-folding configuration ignored.
When g:vimwiki_folding is set to '' there should be no folding no matter
what foldmethod you have in your .vimrc.
2013-06-18 18:43:03 +04: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