EinfachToll
54d1a997d9
Update Contributing.md
2019-03-11 21:24:19 +01:00
EinfachToll
1b2643ea19
Clarify the description of hl_cb_checked in the doc
...
Ref #605
2019-02-04 21:48:18 +01:00
EinfachToll
e16dc41a50
The recommended branch to use is master, not dev
2019-02-01 17:51:41 +01:00
EinfachToll
19f1d36229
Revert "Initial commit"
...
This reverts commit 7699967a99 .
Reason: It's wrong. In markdown, opposed to mediawiki, list items can be indented, e.g. when a
list contains a list.
2019-02-01 17:48:48 +01:00
EinfachToll
ea13b0e848
Make master the recommended branch to use
...
Discussed in #505
2019-02-01 17:43:05 +01:00
EinfachToll
daee3b4796
Fix a typo
2019-01-30 21:46:03 +01:00
EinfachToll
1cffbdbf3d
Fix: Don't double a ' character in header in TOC
...
When building the TOC, every ' in a header got doubled. According to git blame, I did this doubling explicitely, but I have no idea why I did this.
2019-01-25 16:45:11 +01:00
EinfachToll
fdc367f725
Check all user settings for correct type, range etc.
2019-01-19 21:05:27 +01:00
EinfachToll
6257c8fa54
Revert "Allow to specify additional chars for lists"
...
This reverts commit 75819ca23a .
2019-01-17 21:57:42 +01:00
EinfachToll
35d1f23b92
Revert "Allow list symbols to be configured per wiki"
...
This reverts commit 79c295a92f .
2019-01-17 21:57:40 +01:00
EinfachToll
05de247f36
Revert "Update documentation"
...
This reverts commit 7ea136dd0b .
2019-01-17 21:57:39 +01:00
EinfachToll
54e064f5c4
Revert "Fix bug"
...
This reverts commit 2346b7e299 .
2019-01-17 21:57:28 +01:00
EinfachToll
65b0c97c6d
Revert "Update the links when renaming markdown wikis"
...
This reverts commit 599a0e9083 .
Sorry, we can't simply change the syntax of something as basic as a
link, even if the old syntax is wrong. We need to keep Vimwiki
reasonably backwards compatible.
2019-01-16 20:56:49 +01:00
EinfachToll
d9b6d77e90
Accept '.foo' and 'foo' as value for the ext option
2018-12-17 20:27:15 +01:00
EinfachToll
645ae61dc3
Fix error when trying to make a link out of '-'
...
Fix #582
2018-12-14 21:03:46 +01:00
EinfachToll
a72c14da1c
More reasonable behavior for [-] and [X] list items
...
A parent [-] list item should have only [-] items as children.
2018-12-08 21:13:04 +01:00
EinfachToll
c398f5cd81
Remove code duplicate
2018-12-08 21:06:30 +01:00
EinfachToll
fa36bf3838
Don't check a [-] list item when its parent is [X] checked
2018-11-30 17:02:38 +01:00
EinfachToll
a653e2d8c2
HTML converter: trim strings correctly
...
The old version didn't remove trailing spaces.
2018-11-25 17:56:43 +01:00
EinfachToll
349d551181
Diary: make + in visual mode work correctly
2018-11-25 17:55:43 +01:00
EinfachToll
dcd1c0a364
Make gl* work again
...
The problem was that map() also changed the given list in-place, that's
not what was intended.
2018-11-19 21:02:37 +01:00
EinfachToll
2fb0e17adb
glx on a list item creates a checked checkbox
...
... instead of an unchecked one.
2018-11-17 20:07:48 +01:00
EinfachToll
12349b8cb6
Remove duplicated code
2018-11-17 20:07:09 +01:00
EinfachToll
2e523b308f
Check if there is a TOC header before trying to update it
2018-11-17 20:05:58 +01:00
EinfachToll
6f6023610c
Don't jump to the TOC on C-o etc.
...
Before, the cursor would jump to the TOC a lot when pressing <C-o> etc.,
because it is changed every time the buffer is saved.
Use :keepjumps to make it less intrusive. Sadly, the cursor still jumps
to the TOC when you press u and C-r, but it seems there is no way around
it.
2018-11-12 21:54:52 +01:00
EinfachToll
bddd644fbb
Use $HOME instead of ~/ in paths
...
Apparently, the latter doesn't work on all platforms.
Ref #565
2018-11-07 22:02:30 +01:00
EinfachToll
675ff23ed1
Fix a few regexes
...
Without this, things would go wrong if the user has >= 10 Wikis.
2018-11-05 22:36:25 +01:00
EinfachToll
90722a4703
Make an error message more clear
2018-11-01 21:12:14 +01:00
EinfachToll
6a6aeff013
Fix losing the highlight of headers when switching colorschemes
...
Funnily, the code to fix this was there for over 8 years now, but didn't
work.
2018-10-28 21:04:24 +01:00
EinfachToll
7969810b49
Fix losing highlighting after VimwikiAll2HTML
...
Apparently, switching buffers in connection with disabled events caused
the highlighting to disappear. Solution: use the :wa command to save all
buffers. A disadvantage is that now also non-Vimwiki buffers are saved,
but I think that is bearable.
2018-10-27 17:01:52 +02:00
EinfachToll
bd88ea968b
Better error handling when opening a file of which a swapfile exists
...
Ref #569
2018-10-16 22:25:33 +02:00
EinfachToll
76f51f1dba
Nicer error message when linking to not registered wiki
2018-10-15 07:36:41 +02:00
EinfachToll
e6d0678b54
Add CONTRIBUTING.md
2018-10-09 21:54:02 +02:00
EinfachToll
5605f285c1
Fix messing up folding when Vim is in diff mode
2018-08-07 21:39:54 +02:00
EinfachToll
44a1f3a6f3
Add a note to the doc about setting Vimwiki settings
...
Ref #510
2018-07-05 14:11:37 +02:00
EinfachToll
51017f6b5e
Update changelog
...
Ref #504
2018-07-05 14:00:18 +02:00
EinfachToll
786aa470e3
Remove the user-mappable function and use commands instead.
2018-06-26 21:38:55 +02:00
EinfachToll
d5c6cee5eb
Make VimwikiMakeDiaryNote etc work outside a wiki buffer
...
Fix #497
2018-05-23 18:28:03 +02:00
EinfachToll
9a8854756e
Refactoring: simplify and remove some regexes
2018-05-20 15:18:05 +02:00
EinfachToll
946b3feb12
Fix one-off error when opening a wiki via the menu
2018-05-17 21:47:50 +02:00
EinfachToll
c5b39a12b4
Add a help section to the readme
...
Ref #490
2018-05-17 20:18:53 +02:00
EinfachToll
057fa39303
:VimwikiMakeDiaryNote makes a new note in the current wiki
...
... like the doc says, instead of always using the first wiki.
Also, fix the menu entry, which always led to the wrong diary.
Fix #482
2018-05-17 20:06:27 +02:00
EinfachToll
c08a9f8c71
Add a note to the doc on how to use :VWS case insensitively
...
Fix #480
2018-05-16 20:14:36 +02:00
EinfachToll
7c5935b9ba
Do init s:vimwiki_autowriteall_saved, but perhaps with the default value
...
Ref #492
2018-05-15 21:48:58 +02:00
EinfachToll
f96d0c26d3
Add section to doc about getting help via IRC
...
Fix #490
2018-05-15 21:26:05 +02:00
EinfachToll
9b744b42b1
Fix bug when creating a temporary wiki
...
Fix #488
2018-05-09 22:03:24 +02:00
EinfachToll
66a565d388
Merge branch 'mMontu-dev' into dev
2018-04-22 21:25:09 +02:00
EinfachToll
503bc11dd9
Merge branch 'dev' of https://github.com/mMontu/vimwiki into mMontu-dev
...
Conflicts:
plugin/vimwiki.vim
2018-04-22 21:24:28 +02:00
EinfachToll
3f8bb1261f
Make some functions script-local
2018-04-20 07:13:21 +02:00
EinfachToll
c6e87ab661
Remove already deactivated emoticons highlighting
2018-04-20 07:06:59 +02:00
EinfachToll
c1dbf90c29
Remove foldmarkers; general reformatting
2018-04-20 07:03:53 +02:00
EinfachToll
90dc1e5871
Make ]] work when cursor is above first header
...
Ref #462
2018-04-17 08:53:08 +02:00
EinfachToll
3556de54e1
Small refactorings
2018-04-17 07:15:23 +02:00
EinfachToll
cdc37162a9
Escape only '"' in links
...
Fix #467
Ref #474
2018-04-16 20:40:18 +02:00
EinfachToll
86a8604c4e
Remove recently introduced code duplication
2018-04-08 20:41:27 +02:00
EinfachToll
2941913ccc
Add keys for motions between headers
...
Fix #462
Inspired by #23
2018-04-06 21:11:40 +02:00
EinfachToll
a3b100ccaa
Update the documentation for header text objects
2018-04-06 09:58:28 +02:00
EinfachToll
a144be2a30
Improve header text objects
...
- make it work for markdown and media syntax as well
- don't find headers in preformatted text or headers of the form = foo ==
- introduce iH and aH text objects for headers plus subheaders
- add a count to include parent headers
Inspired by #462
2018-04-06 09:58:28 +02:00
EinfachToll
13271541a6
Highlight done and rejected list item the same way
2018-04-03 19:45:19 +02:00
EinfachToll
52f3bf7c3b
Don't throw errors when the user presses 123\ww
...
This reverts commit 5a00028e6a .
2018-03-25 21:51:08 +02:00
EinfachToll
8009e5c7cf
Handle all combinations of 'autowriteall' and 'hidden'
...
Ref #445
2018-03-16 21:39:24 +01:00
EinfachToll
4bacbe0000
Force vimwiki filetype
...
Else, Vim decides the filetype according to the file extension.
Ref #440
2018-02-26 07:20:14 +01:00
EinfachToll
02e8fb3108
Fix: register a default wiki if the user hasn't
...
Ref #440
Ref #441
2018-02-23 17:39:50 +01:00
EinfachToll
5a00028e6a
Don't exit if there are no registered wikis
...
Vimwiki can handle that.
Ref #440
2018-02-22 20:56:30 +01:00
EinfachToll
b016eab91a
Set 'tw' to 99 in all source files. We're not in the middle ages anymore.
2018-02-21 07:11:51 +01:00
EinfachToll
46a5be9b3b
Fix regression: some variables are global, not syntax-local
...
Ref #256
2018-02-20 17:42:13 +01:00
EinfachToll
f8ee21aa64
Merge branch 'refactor-internal-state-handling' into dev
...
Conflicts:
autoload/vimwiki/base.vim
autoload/vimwiki/diary.vim
autoload/vimwiki/html.vim
autoload/vimwiki/lst.vim
autoload/vimwiki/markdown_base.vim
doc/vimwiki.txt
ftplugin/vimwiki.vim
plugin/vimwiki.vim
syntax/vimwiki.vim
syntax/vimwiki_default.vim
syntax/vimwiki_markdown.vim
syntax/vimwiki_media.vim
2018-02-19 17:56:17 +01:00
EinfachToll
2757a7826a
Cherry-pick the changes from dev -- part8
2018-02-19 07:44:19 +01:00
EinfachToll
1e858b50cb
Cherry-pick the changes from dev -- part7
2018-02-19 07:07:22 +01:00
EinfachToll
4c940cd5bb
Cherry-pick the changes from dev -- part6
2018-02-17 21:30:01 +01:00
EinfachToll
f60993249a
Cherry-pick the changes from dev -- part5
2018-02-17 21:05:06 +01:00
EinfachToll
3756c6258b
Cherry-pick the changes from dev -- part4
2018-02-16 21:42:32 +01:00
EinfachToll
73bda6b9ab
Cherry-pick the changes from dev -- part3
2018-02-16 18:11:49 +01:00
EinfachToll
7d4254a75d
Cherry-pick the changes from dev -- part2
2018-02-16 17:47:32 +01:00
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
EinfachToll
967b342b23
Formatting
2018-02-10 22:04:37 +01:00
EinfachToll
68ad4675a3
Remove b:undo_ftplugin to speed up buffer loading
...
If this variable is present, then for some reason the complete ftplugin
file is sourced everytime a Vimwiki buffer is entered, even if the
buffer has been entered before, i.e. the guard b:did_ftplugin has no
effect. (See /usr/share/vimXX/ftplugin.vim)
Deleting these lines. I don't think undoing the settings is a common use
case, anyway.
2018-02-10 21:41:07 +01:00
EinfachToll
4e16db926f
Fix more regression bugs
2017-11-11 21:52:07 +01:00
EinfachToll
976cbbcd23
Add notes for gln and glp to the doc
...
Ref #369
2017-07-15 20:27:32 +02:00
EinfachToll and GitHub
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 and GitHub
d5df4c7726
Merge pull request #346 from trnila/data-scheme
...
Support for data scheme
2017-07-09 14:46:48 +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
EinfachToll
2369fd73aa
Add documentation for the %date placeholder
...
Ref #360
2017-07-08 22:02:44 +02:00
EinfachToll
8cdc1c1538
Don't throw an error when typing <count>o
...
Ref #255
2017-04-15 21:22:21 +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
EinfachToll
ca95b3fc73
Add some remarks about nested syntaxes to the doc
...
Ref #329
2017-04-15 10:09:24 +02:00
EinfachToll
f54f72981d
Add a clarifying note to the doc
...
Ref #332
2017-04-13 20:33:56 +02:00
EinfachToll
13f82dbaac
Add option for enabling local folding settings
...
Ref #321
2017-03-31 21:38:32 +02:00
EinfachToll and GitHub
013f699de8
Merge pull request #320 from sqlwwx/dev
...
doc for install by Vim packages
2017-03-31 21:11:58 +02:00
EinfachToll
065b7cbac0
Small fix to the doc
...
Don't use arbitrary tags, but always use the prefix 'vimwiki'.
Ref #316
2017-03-19 10:26:25 +01: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
EinfachToll and GitHub
88405934f1
Merge pull request #270 from priomsrb/patch-1
...
Fix example mapping for decreasing list item level
2017-02-21 21:05:23 +01:00
EinfachToll and GitHub
e0fea20fa6
Merge pull request #266 from NullInfinity/dev
...
Fix typo in docs
2017-02-21 21:01:44 +01:00
EinfachToll
ed7230707d
Merge branch 'dev' of https://github.com/vimwiki/vimwiki into dev
2017-02-19 21:53:34 +01:00
EinfachToll
2eed86813d
Update folding documentation to match current behaviour
...
Ref #297
Ref #117
2017-02-19 21:50:35 +01:00
EinfachToll
d5ed58f763
Fix a few regression bugs
...
Ref #256
Fix #301
2017-02-16 21:54:10 +01:00
EinfachToll and GitHub
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
EinfachToll
31760a7ef7
Fix a few regression bugs
...
Ref #256
2017-01-16 22:10:28 +01:00