Commit Graph

671 Commits

Author SHA1 Message Date
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
Brian Gianforcaro
7036561446 Add VimwikiMakeTomorrowDiaryNote
This change introduces a new global diary command "VimwikiMakeTomorrowDiaryNote". The purpose is the
same as VimwikiMakeYesterdayDiaryNote, except it allows
you to create a diary note in the future.

I find this useful when trying to plan my day the night before.
2018-04-14 00:06:51 +02:00
Petrus
65c4ffacca fix missing custom_wiki2html_args default key
Ref #475
2018-04-13 11:03:21 +02:00
EinfachToll
86a8604c4e Remove recently introduced code duplication 2018-04-08 20:41:27 +02:00
Jonathan McElroy
bf2039555a Allow Powershell to open links in Windows 2018-04-08 18:41:17 +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
Michael F. Schönitzer
ec516cfdbd Once again 2018-04-04 17:03:49 +02:00
Michael F. Schönitzer
9b5e4b445a Revert previous changes 2018-04-04 16:54:41 +02:00
Michael F. Schönitzer
5ad702cce6 Revert 89d28a7
This was committed by accident. Since 53745e8 had to be done by machine
this it not a real revert, but a redo of 53745e8. Due to the matter of
53745e8 it's slightly different.
2018-04-04 03:31:54 +02:00
Michael F. Schönitzer
53745e89e0 Fix newlineformat (issue #465)
The file contained carriage return characters leading to issues on some
systems. Removing them all should solve this.
2018-04-04 03:00:55 +02:00
Michael F. Schönitzer
89d28a72c5
Merge branch 'beta' into dev 2018-04-04 02:27:27 +02:00
EinfachToll
13271541a6 Highlight done and rejected list item the same way 2018-04-03 19:45:19 +02:00
blyoa
a2a9f2e6ca Fix path resolution of diary notes (#442) 2018-04-02 21:34:21 +02:00
Silvio Ricardo Cordeiro
1c4a9bb1af HTML comments and better TODO
* Allow HTML-style comment syntax

Allow <!-- HTML comments --> in vimwiki's highlight for markdown.

* Avoid matching "TODO" on word boundaries

Do not match e.g. "xTODO:" as if it were "TODO:".
This also lifts the requirement of ":" after these keywords
(it is more flexible to just require a word boundary regardless of what).
2018-04-01 21:45:15 +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
beuerle
16b9e45b03 fix diary list, indent according to list_margin
The list of diary entries now is not indented according to the vim
`shiftwidth` setting, but gets the indentation from list_margin (as is
the case for `vimwiki#base#generate_links`).
2018-03-18 21:05:11 +01: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
Michael F. Schönitzer
75fe1d4f00 Fix bug: unknown function SafeSubstitute 2017-12-04 16:26:59 +01:00
Michael F. Schönitzer
533c103748
Merge pull request #7 from Nudin/dev
Merge from upstream
2017-11-15 16:37:35 +01:00
Michael F. Schönitzer
aff1b639df
Merge pull request #6 from vimwiki/dev
Merge from upstream
2017-11-15 16:35:28 +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
Michael F. Schönitzer
0df94e47a8
Merge pull request #5 from vimwiki/dev
Merge upstream patches
2017-11-15 16:32:54 +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