Commit Graph

430 Commits

Author SHA1 Message Date
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
Michael F. Schönitzer
75fe1d4f00 Fix bug: unknown function SafeSubstitute 2017-12-04 16:26:59 +01:00
Keith Haber
c94af4b3f1 Update argument handling in diary#make_note
Fix an "Undefined variable: a:3" error that occurs when attempting to open
a diary page with Calendar.vim.
2017-11-15 16:33:59 +01:00
John Campbell
164b760d3b
Merge pull request #411 from Nudin/safesubst
Use a safe substitution-function everywhere
2017-11-14 00:43:49 -05:00
EinfachToll
4e16db926f Fix more regression bugs 2017-11-11 21:52:07 +01:00
Michael F. Schönitzer
074d882762 Allow Backtick in Link 2017-11-10 22:47:57 +01:00
Michael F. Schönitzer
91c382a034 Use a safe substitution-function everywhere 2017-11-10 22:32:29 +01:00
Daniel Etrata
b6d47e894d Give vimwiki#diary#make_note similar functionality 2017-11-10 21:26:58 +01:00
Daniel
02e32489d7 Added the option to open vimwiki in a pane.
1       tabedit
2       split
3       vsplit

Similar to opening a tab,::

vimwiki#base#goto_index(v:count1, 1)

we can now open a split with::

vimwiki#base#goto_index(v:count1, 2)

and a vertical split with::

vimwiki#base#goto_index(v:count1, 3)
2017-11-10 21:26:58 +01:00
Daniel
95d4c095d0 Added the option to open vimwiki in a pane.
1       tabedit
2       split
3       vsplit

Similar to opening a tab,::

vimwiki#base#goto_index(v:count1, 1)

we can now open a split with::

vimwiki#base#goto_index(v:count1, 2)

and a vertical split with::

vimwiki#base#goto_index(v:count1, 3)
2017-11-10 21:26:58 +01:00
Daniel
734d014367 Added the option to open vimwiki in a pane.
1       tabedit
2       split
3       vsplit

Similar to opening a tab,::

vimwiki#base#goto_index(1, 1)

we can now open a split with::

vimwiki#base#goto_index(1, 2)

and a vertical split with::

vimwiki#base#goto_index(1, 3)
2017-11-10 21:26:58 +01:00
Daniel
293e1f51ee Added the option to open vimwiki in a pane.
1       tabedit
2       split
3       vsplit

Similar to opening a tab,::

vimwiki#base#goto_index(v:count1, 1)

we can now open a split with::

vimwiki#base#goto_index(v:count1, 2)

and a vertical split with::

vimwiki#base#goto_index(v:count1, 3)
2017-11-10 21:26:58 +01:00
John Campbell
7c2ae8a714
Merge pull request #373 from Nudin/wontdo
"Won't-do" state for checkbox list items
2017-11-04 14:23:50 -04:00
Drew Hays
eed4ceff1a Escape the 'dot' in extension substitution
This escapes the `.` preceding an extension (e.g. `.wiki`) so that it doesn't accidentally match any character.

For example: `[vimwiki](vimwiki)` was opening the `vi.wiki` page, because of this rule.
2017-11-03 23:06:10 +01:00
John Campbell
bc6acf5103 Merge pull request #403 from dpc/dev
Fix diary index generation with custom file extensions
2017-10-26 19:34:38 -04:00
Dawid Ciężarkiewicz
d9a73b7117 Fix diary index generation with custom file extensions
Fix #302
2017-10-25 16:02:48 -07:00
Michael F. Schönitzer
cf8e3e7319 Unified spelling Licence -> License 2017-10-25 19:02:12 +02:00
Michael F. Schönitzer
ec3d554c0b Update list of contributers 2017-10-25 19:02:12 +02:00
Michael F. Schönitzer
742fc99692 Add Copyright-attribution to Daniel Schemala 2017-10-25 19:02:12 +02:00
Michael F. Schönitzer
37e4dfc288 Add License-File
Vimwiki currently has not License-File, and the license is only mentioned in the help-file. We should change this.
2017-10-25 19:02:12 +02:00
Michael F. Schönitzer
3cbc505fba Update Documentation to reflect EOL of MathJax CDN 2017-10-24 14:35:40 +02:00
Michael F. Schönitzer
97ae634b9f Renamed command
Common prefix causes serious delays
2017-09-16 15:36:10 +02:00
Michael F. Schönitzer
d772a14d43 Fix bug with keybinding 2017-08-05 22:18:56 +02:00
Michael F. Schönitzer
413b9ca04f Add default keybinding glx for toggling disabled 2017-08-05 17:32:15 +02:00
Michael F. Schönitzer
0136039306 Documented VimwikiToggleListItemRejected 2017-08-05 16:45:35 +02:00
Michael F. Schönitzer
f917b01998 Html-export: Add support of rejected Todo-listentry 2017-08-05 16:45:35 +02:00
Michael F. Schönitzer
6b9df766bb Remove duplicated code 2017-08-05 16:45:35 +02:00
Michael F. Schönitzer
f888773767 New feature reject a item form todo-list
Based on patches of davidlmontgomery.
2017-08-05 16:45:35 +02:00
EinfachToll
976cbbcd23 Add notes for gln and glp to the doc
Ref #369
2017-07-15 20:27:32 +02:00
Michael F. Schönitzer
46653f48a9 Switch to gln/glp as default keybindings 2017-07-15 15:48:47 +02:00
Michael F. Schönitzer
38efe2c2f1 Change key binding vimwiki#lst#increment_cb to gl+
As well as gl- for vimwiki#lst#decrement_cb.
2017-07-15 15:48:47 +02:00
Michael F. Schönitzer
7fe98bd20c Clean up code by reusing code 2017-07-15 15:48:47 +02:00
Michael F. Schönitzer
20afe48edd Add comment & binding for in-/decrease Todo-status 2017-07-15 15:48:47 +02:00