Commit Graph

561 Commits

Author SHA1 Message Date
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
Michael F. Schönitzer
a32a06f3b8 Follow up to 5f76208 2018-10-25 23:39:45 +02:00
Michael F. Schönitzer
a244246641 Merge branch 'dev' of github.com:vimwiki/vimwiki into dev 2018-10-25 23:27:15 +02:00
Michael F. Schönitzer
5f762082d2 Fix bug: change links when renaming pages 2018-10-25 23:26:35 +02:00
Benjamin Brandtner
7668985b43 Fixed system file handlers for windows
Fixes #560
Opening external files containing spaces should now work on cmd and powershell.
2018-10-22 21:25:56 +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
Steven Stallion
d7d94e2160 Initial commit 2018-09-29 20:23:26 +02:00
Fredrik Arnerup
f639c0a342 Clean URLs that don't have slashes
Will fix normalization of links like [[local:./foo.txt]]
Also, allow schemes to end with a number, so that e.g. [[wiki1:foo]]
will normalize as expected.
2018-09-19 12:12:32 +02:00
EinfachToll
5605f285c1 Fix messing up folding when Vim is in diff mode 2018-08-07 21:39:54 +02:00
Michael F. Schönitzer
2185815b00 Fix problem with open swap-file 2018-07-27 02:49:47 +02:00
Steven Schmeiser
10f502a698 table align - catch up to dev 2018-07-09 13:51:18 -04:00
Steven Schmeiser
23d273d547 table alignment: break out of loop when separator found 2018-07-09 10:05:30 -04: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
Michael F. Schönitzer
50c95f1bef Remove all protocols and tlds on URL-cleaning
Also make removal of protocol, tld and 'www' more robust against
fails-positives by considering the position in the url.
2018-06-17 16:10:44 +02:00
Michael F. Schönitzer
4d4e88bfa2 Improve heuristic for cleaning urls in link descr. 2018-06-17 15:31:57 +02:00
Michael F. Schönitzer
7ad365e142
Add Installation-Guide for Vim-plug
Installation-note for vim-plug is important since vimplug defaults to master branch. See #503
2018-05-30 20:17:54 +02:00
Nick Borden
966a94bd47 Diary links should use markdown syntax when appropriate (#500)
When markdown syntax is enabled, generated links should use markdown
link syntax.

Fix #499
2018-05-28 21:24:29 +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
Michael F. Schönitzer
ed58049dbe Revert "set script variable for autowrite_all"
This reverts commit 818fe930c3.
2018-05-14 10:50:41 +02:00
Huy Le
818fe930c3 set script variable for autowrite_all
Ref #492
2018-05-13 15:43:47 +02:00
EinfachToll
9b744b42b1 Fix bug when creating a temporary wiki
Fix #488
2018-05-09 22:03:24 +02:00
Michael F. Schönitzer
d73c1e4ed6 Remove useless statement 2018-05-08 10:56:10 +02:00
Michael F. Schönitzer
b5dcd1ebeb Allow wikis in subfolders of other wikis 2018-05-08 10:56:10 +02:00
Zhuang Ma
c8b02e4bc5 Use markdown link syntax for the TOC
Ref #483
Fix #200
2018-05-01 21:22:07 +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
Ben Burrill
1176f60ec6 Allow any visual mode to be used to create a link
The only real condition we care about is whether the selection is
contained within a single line.  It is practical to do something like
V<CR> to link a whole line, and AFAIK there is no reason for why that
doesn't work.
2018-04-22 20:58:39 +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