Rane Brown
4928132e5f
Use shiftwidth to calculate diary index header indentation
2019-04-03 11:58:27 -06:00
Rane Brown
80a94cd8c7
Correctly indent diary section links when list_margin is 0
2019-04-03 10:48:23 -06:00
Alexey Radkov
e0fffb470a
Separator line in a table requires special treatment ( #651 )
...
Fix #650 – horizontal table delimiter treated wrong
2019-04-01 23:13:24 +02:00
Rane Brown
4f5d4c9400
Change the tagfile name.
...
This changes the tags file used by vimwiki to '.vimwiki_tags' to prevent
conflicts with other tools that may generate a tags file using the same
name such as gutentags.
2019-04-01 09:46:41 -06:00
Rane Brown
41aa647aba
Add option to set a character which replaces spaces when creating links.
...
The wikilocal option links_space_char will be used to replace any spaces
when creating a new wiki link and page. This only affects link creation
with a visual selection.
2019-03-31 21:19:50 -06:00
Rane Brown
3396e87dbe
Fix problems with commands not taking a count and mapping behavior.
...
Commands such as :VimwikiIndex and :VimwikiDiaryIndex did not previously
take a count and the doucmentation was inconsistent/incorrect for the
behavior of these commands. Fixes #543 .
2019-03-31 20:00:37 -07:00
Steven Stallion
3b9aa6b162
Support file exclusion in link generation
2019-03-30 21:10:14 -05:00
Rane Brown
047947cbbe
Merge pull request #635 from sstallion/sstallion/autogenerate-tags
...
Support automatic generation of links and tags
2019-03-30 19:56:57 -06:00
Steven Stallion
0e664a6230
Merge branch 'dev' of git://github.com/vimwiki/vimwiki into sstallion/autogenerate-tags
2019-03-30 20:34:57 -05:00
Henry Qin
3f7f85cfc6
Add command and map to jump to the next unfinished task.
...
Introduce the command `VimwikiNextTask` and the mapping `gnt` to jump to
the next unfinished task.
2019-03-30 12:45:19 -07:00
Michal Cizmazia
b849a411e3
Add toc_link_format option
...
Add an option for setting the format of the links in the Table of Contents:
- Extended (the current and default)
- Brief (new format for the Vimwiki markup)
2019-03-29 21:28:11 +01:00
Steven Stallion
fc158ba744
Support automatic generation of links and tags
2019-03-28 20:11:47 -05:00
Greg Anders
e56c26c7ba
Add an option to conceal preformatted text blocks
...
This merges PR #641 .
2019-03-28 14:50:25 -07:00
Rane Brown
f5cf991115
Merge pull request #634 from sstallion/sstallion/headers
...
Adjust generated header behavior for TOC, links, tags, and diary (oh my!)
2019-03-26 11:57:24 -06:00
Steven Stallion
6c2f9f999d
Adjust generated header behavior for TOC, etc.
2019-03-26 12:03:09 -05:00
tinmarino
dfccfb1951
Add option : g:vimwiki_table_reduce_last_col. Used to not expand table last cells in order to avoid large, useless wraps
2019-03-23 11:23:58 -03:00
Eric Langlois
8f5d38365b
Added optional extra caption levels to diary index.
...
Added the option 'diary_caption_level', which controls the presence of
captions in the diary index linking to headers within the diary pages.
Possible values:
-1: No headers are read from the diary page.
0: The first header from the diary page is used as the caption.
There are no sub-captions.
1: Captions are created for headers of level 1 in the diary page.
2: Captions are created for headers up to level 2 in the diary page.
etc.
When the value is >= 1, the primary caption of each diary page is set to
the first header read from that page if it is the unique lowest-level
header.
2019-03-20 14:09:57 -07:00
Steven Stallion
eb00d30d9b
Initial commit
2019-03-19 10:33:08 -05:00
Rane Brown
c8d09d7c9e
Merge pull request #629 from gpanders/dev
...
Allow customization of header level of TOC
2019-03-18 17:20:30 -06:00
Лёха
e0f4ab8c5e
Revert implementation of function s:get_cell_aligns()
...
This commit reverses a change to s:get_cell_aligns introduced by
bdcfca1e5c
.
2019-03-18 14:43:43 -07:00
Steven Stallion
ad8e1d30bf
Add g:vimwiki_create_link option to prevent link creation.
...
Adds a new global option named create_link, which allows the user to
control :VimwikiFollowLink behavior when attempting to follow a
non-existent link. The original behavior of creating a new link is
preserved. However, by setting this option to 0, new links will not be
created when pressing return over regular text. Closes #528 .
2019-03-18 14:37:12 -07:00
lyokha
ad6a3bceb6
the cause of the linear slowing down was fixed
2019-03-18 17:49:13 +03:00
lyokha
0c82d9dcb8
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-18 13:13:30 +03:00
Henry Qin
efcc3f1fa5
Merge branch 'wiki-path' into 'dev'. Closes #573 .
...
Introduce a `%wiki_path%` variable which can be used in HTML template
files to output the path of the wiki file being converted to HTML.
2019-03-17 18:19:49 -07:00
Henry Qin
e6d6830db7
Merge branch 'colorcodes' into 'dev'. Closes PR #616 .
...
This colors all CSS color codes found alone in inline code blocks to the
color they mention.
2019-03-17 18:09:06 -07:00
Hugo Hörnquist
2f87f92060
Better foreground for colorcodes.
2019-03-17 22:40:34 +01:00
Henry Qin
8941508e35
Allow AddHeaderLevel and RemoveHeaderLevel to take counts
2019-03-17 10:43:42 -07:00
lyokha
88a6820e9e
updated for the new aligns feature
2019-03-15 16:07:52 +03:00
Alexey Radkov
fa6342c454
Merge branch 'dev' into dev
2019-03-15 15:38:22 +03:00
lyokha
5e4a89c898
faster table format on InsertLeave; faster s:get_rows()
2019-03-15 15:31:28 +03:00
Henry Qin
abd12d4479
Merge PR #377 from https://github.com/schmeisers/vimwiki
2019-03-14 18:08:27 -07:00
Greg Anders
bb40826def
Allow customization of header level of TOC
...
Instead of forcing the TOC to always be at header level 1, allow the
user to specify via the option g:vimwiki_toc_header_level what level
they want.
This defaults to 1, so if the user does nothing then the old behavior
will remain the same.
2019-03-14 08:34:52 -06:00
Alexey Radkov
af8cdc4d62
Merge branch 'dev' into dev
2019-03-14 14:09:30 +03:00
lyokha
a74e0821b0
resolved conflicts in tbl.vim
2019-03-14 13:36:51 +03:00
Hugo Hörnquist
08ec02a755
Alternative where text color is inverse of background.
2019-02-19 21:04:57 +01:00
Hugo Hörnquist
21f5069e48
Code-blocks auto-color.
2019-02-19 20:45:10 +01:00
Nico
a7160310c9
Patch for issue #585 - implement suggested improvements
2019-02-01 17:43:05 +01:00
Nicolas Brailovsky
0f38192b03
Patch for issue #585 , fix anchor links for multiple extensions
2019-02-01 17:43:05 +01:00
Fredrik Arnerup
69aa609941
Don't include trailing period in link
2019-02-01 17:43:05 +01:00
Hugo Hörnquist
bda3a59f91
Made headings link to themselves.
...
Made each heading link to itself, by placing an <a> tag inside each
<h[1-6]> tag.
Also adds class="header" to each header, allowing for the CSS rule
.header a { ... }
to remove all styling from the inner links, allowing the outputed
document to look like before.
2019-01-30 21:13:29 +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
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
Michael F. Schönitzer
2346b7e299
Fix bug
2019-01-04 01:19:26 +01:00
Michael F. Schönitzer
79c295a92f
Allow list symbols to be configured per wiki
2019-01-03 21:02:21 +01:00
Michael F. Schönitzer
75819ca23a
Allow to specify additional chars for lists
...
See also #390 and #479 for earlier attempts
2019-01-03 21:02:21 +01:00
Raphael Feng
599a0e9083
Update the links when renaming markdown wikis
...
Two reasons whey the links in markdown wikis are not updated:
1. The markdown link pattern is wrong, should be []() rather than [][];
2. The logic of getting wiki local var cannot get correct wiki index as:
a. the renamed file's buffer is removed and %:p would return empty
b. the function that gets the wiki local var depends on buffer's %:p
value to find the wiki it belongs to and it would always return -1
and result in the default option values instead the user's option
The fix is
1. fix the markdown link pattern regex;
2. keep the renamed file's buffer open during the period of updating the link
2019-01-03 13:00:19 +01:00
sreejith994
2366523001
Fixed updation of links when renaming wiki files in subdirectories
2018-12-21 11:08:14 +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
90722a4703
Make an error message more clear
2018-11-01 21:12:14 +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
Hugo Hörnquist
28727b3971
Add %wiki_path% template variable.
2018-10-11 14:25:55 +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
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
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
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
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
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
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
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
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
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
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
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
Michael F. Schönitzer
75fe1d4f00
Fix bug: unknown function SafeSubstitute
2017-12-04 16:26:59 +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
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
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
41e653718e
Allow to specify additional chars for lists
2017-09-16 16:30:22 +02:00
Steven Schmeiser
f384aa6d1e
add horizontal alignment to tables
2017-08-17 10:22:09 -04: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
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
s
3ecf9c544a
set additional custom arguments in g:vimwiki_list
...
(custom_wiki2html_args) which will then be passed to the appropriate
custom_wiki2html script.
2017-07-11 21:52:41 +02:00
EinfachToll
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
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
Yuchen Pei
28177c33e3
Added date placeholder. ( #360 )
...
* added date placeholder.
* made today the default.
2017-07-08 21:04:54 +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
Guilherme Salazar
30ab7dbff0
fix issue in Markdown visual mode link creation
2017-04-04 20:20:36 -03: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
Daniel Schemala
56cb06e73e
Fix <BS> under Windows
...
It didn't do anything after you hit a link which jumps inside a buffer.
This makes me realize that there are probably a lot more issues under
Windows.
2017-03-01 21:38:14 +01:00
EinfachToll
d5ed58f763
Fix a few regression bugs
...
Ref #256
Fix #301
2017-02-16 21:54:10 +01:00
EinfachToll
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
Michael F. Schönitzer
c857be2f87
Allow g:vimwiki_listsyms be larger than 5 elements (Issue #275 ) ( #279 )
...
* Allow g:vimwiki_listsyms to be of arbitrary size
* Update documentation
* Add support for arbitrary size listsyms to vimwikihtml
2017-01-22 20:16:10 +01:00
EinfachToll
31760a7ef7
Fix a few regression bugs
...
Ref #256
2017-01-16 22:10:28 +01:00
EinfachToll
fea76ace23
Use new access functions for buffer-local variables
...
Ref #256
2017-01-13 16:33:41 +01:00
EinfachToll
ce5c822072
Start refactoring the rest -- part 6
...
Ref #256
2017-01-12 21:45:09 +01:00
EinfachToll
b61ff8b5ee
Start refactoring the rest -- part 6
...
Ref #256
2017-01-11 22:12:33 +01:00
EinfachToll
1806d3edfa
Start refactoring the rest -- part 5
...
Ref #256
2017-01-07 21:51:15 +01:00
Michael Thessel
8507c95716
Added config option to allow for newlines in text when exporting to HTML
2017-01-05 22:17:37 -08:00
EinfachToll
4a96eb4d32
Remove two undocumented and probably buggy features
2017-01-04 22:10:10 +01:00
EinfachToll
203fb5b430
Start refactoring the rest -- part 4
...
Ref #256
2017-01-04 21:53:03 +01:00
EinfachToll
b82245b09e
Start refactoring the rest -- part 3
...
Ref #256
2016-12-31 20:47:19 +01:00
EinfachToll
7c98ce3934
Start refactoring the rest -- part 2
...
Ref #256
2016-12-28 22:17:08 +01:00
EinfachToll
c9104fc2c1
Start refactoring the rest -- part 1
...
Ref #256
2016-12-25 21:35:56 +01:00
EinfachToll
250fd3c47b
Use new access functions for wiki-local variables -- part 5
...
Ref #256
2016-12-23 20:05:53 +01:00
EinfachToll
2329d602a7
Use new access functions for wiki-local variables -- part 4
...
Ref #256
2016-12-22 21:00:19 +01:00
EinfachToll
f497a4abc7
Use new access functions for wiki-local variables -- part 3
...
Ref #256
2016-12-22 19:55:20 +01:00
EinfachToll
61910cd93a
Use new access functions for wiki-local variables -- part 2
...
Ref #256
2016-12-22 19:12:03 +01:00
EinfachToll
6221861957
Use new access functions for wiki-local variables -- part 1
...
Ref #256
2016-12-22 18:16:05 +01:00
EinfachToll
23ee20887a
Use new access functions for global variables -- part 3
...
Ref #256
2016-12-21 22:11:44 +01:00
EinfachToll
49bdf7fa47
Use new access functions for global variables -- part 2
...
Ref #256
2016-12-21 21:28:48 +01:00
EinfachToll
e6d997867a
Use new access functions for global variables -- part 1
...
Ref #256
2016-12-21 19:43:34 +01:00
EinfachToll
6b34e954e8
Add new functions for variable access
...
Ref #256
2016-12-21 17:09:25 +01:00
EinfachToll
0966031234
Highlight math not using TeX but TeX math
...
Fix #236
2016-11-24 16:46:56 +01:00
EinfachToll
2c9df65644
Merge pull request #251 from jconroy77/markdown_nested_syntax
...
Automatic detection of nested syntaxes in markdown
2016-11-23 21:49:37 +01:00
John Conroy
8534219694
Automatic detection of nested syntaxes in markdown
2016-10-31 15:35:57 -04:00
EinfachToll
3f66117894
When sorting tags, always match case because Vim expects it
2016-05-23 22:02:03 +02:00
EinfachToll
722d6e4b9a
'+' on a raw url surrounds it with brackets
...
Fix #188
2016-03-21 09:02:22 +01:00
EinfachToll
0001b3cda9
Copy CSS file also with :Vimwiki2HTML
2016-03-19 22:01:25 +01:00
EinfachToll
68cdfe36df
Unify all messages to the user
2016-03-19 21:29:42 +01:00
EinfachToll
4c2e13a284
Skip preformatted and math text while scanning for headers
...
Fix #191
2016-03-18 15:18:23 +01:00
EinfachToll
4bd0690a52
Simplify some regexes
2016-03-18 15:16:59 +01:00
EinfachToll
128581babc
Merge remote-tracking branch 'optik-aper/master' into dev
2016-03-01 10:46:29 +01:00
Michael
c2d1869227
Escape tilde (~) in path names otherwise regex comparison gets upset
2016-02-29 16:12:56 -05:00
EinfachToll
6f579711ab
Merge pull request #186 from lotabout/master
...
fix #64 : markdown style link support
2016-02-22 11:42:42 +01:00
zhang_ji
6d96516ab4
enhance #64 : generate same link type for visual mode and normal mode
2016-02-22 16:00:37 +08:00
EinfachToll
0ea8d85b7f
Sort links in the list generated by VimwikiGenerateTags
...
Fix #192
2016-02-19 11:32:58 +01:00
EinfachToll
5f9dbca89c
Small cleanup of the merged PR
...
Ref #187
2016-01-28 10:52:40 +01:00
EinfachToll
2aeaea5f0d
Merge pull request #187 from mMontu/nested
...
Dynamically detect nested syntaxes (fix #128 )
2016-01-28 10:29:53 +01:00
mMontu
fc947523b0
Dynamically detect nested syntaxes ( fix #128 )
2016-01-27 10:14:49 -02:00
EinfachToll
91a004bc23
Remove superfluous debug message
2016-01-25 13:47:41 +01:00
EinfachToll
78cef05fa3
Fix HTML conversion of headers containing links
...
Fix #183
2016-01-22 13:32:01 +01:00
EinfachToll
ff90e980de
Locate the .tags file correctly on windows
...
Ref #184
2016-01-21 13:27:08 +01:00
EinfachToll
bb3026dba8
Include subdir in wiki page name when rebuilding tags
...
Ref #184
2016-01-21 13:25:04 +01:00
zhang_ji
b0cc6ff0de
fix #64 : markdown style link support
2016-01-18 16:51:08 +08:00
Ivan
f9045a40e0
Merge pull request #169 from t7ko/bugfix/tags-sorted-in-wrong-order
...
Fix sorting order of tags.
2015-12-08 16:31:01 +03:00