Commit Graph

248 Commits

Author SHA1 Message Date
Jonny Bylsma
e84dcbfa25 Prevent sticky type checking (E706) errors with older Vims (#681)
Vim used to throw the E706 error if you tried to change a variable's
type. This error can be triggered by vimwiki if, during the user
settings loop in `read_global_settings_from_user()`, the variable type
for `users_value` changes.

The vim error was removed in v7.4.1546 as part of
f6f32c38bf.
2019-04-26 11:06:09 -06:00
Alexander Gude
6787e0fb7e Change diary_rel_path minimum length to 0 (#689)
Changing this option to allow empty strings places the diary files in the same directory as the main wiki files. This is more backwards compatible with previous releases.
2019-04-26 06:23:45 -06:00
Steve Dondley
1e5c93ea91 Improve documentation of key bindings in README (#687) 2019-04-25 08:18:41 -06:00
Rane Brown
510c149512 Add wikilocal option to assign a name to each wiki.
Names can be used for interwiki links in the format wn.name:link.
Additionally, :VimwikiUISelect and the menu created in GVim utilize the
wiki name. Fixes #612, closes #477.
2019-04-21 13:05:01 -06:00
Rane Brown
37f020d21a Omnicompletion fix for Windows (#660)
* Temporary fix for omnicomplete of vimwiki links - #456.

This fixes the omnicomplete of wiki links under Windows which were
not working since paths on Windows use '\' instead of '/'. This is
a temporary fix until path refactoring is done.

* Update changelog with description of fix for #456
2019-04-20 17:28:32 +02:00
Monkin
3d076f01c8
New Logo and Screenshots
Update CSS Styles

Add Splash Image

Compress PNG

Remove header

Change headings sizes

Add background colors to code blocks and use HEX

Update fonts and put back old screenshots

Change font-size in code blocks
2019-04-19 21:01:02 +02:00
Rane Brown
9d10610c4a Add option g:vimwiki_auto_header to automatically generate H1.
A level 1 header will automatically be generated for new files. The
title used in the header is based on the filename. Closes #245.
2019-04-13 07:00:06 -06:00
Patrick Davey
5f01182468 Add html_filename_parameterization option.
This adds the vimwiki_local `html_filename_parameterization` option (0|1)
which performs the same sanitization of filenames as does the
vimwiki_markdown gem.

For example, if your file is called "My File.md" it will be written out
as "my-file.html".

If the html_filename_parameterization options is enabled, we also _do
not delete_ non-matching html files when the VimwikiAllToHtml command is
run.

Closes #129
2019-04-13 10:07:51 +12:00
Rane Brown
1e74443b5a Allow additional filetypes to be registered to vimwiki files.
This options allow third party plugins to register and enable additonal
functionality by setting the filetype to vimwiki.other_ft.other_ft2 etc.
This option should be used with care since vimwiki functionality can be
overwritten by other plugins. See Issue #461 for an example use case.
2019-04-12 07:42:49 -06:00
Patrik Willard
b172db23d3
Add changelog entry 2019-04-10 16:00:50 +02:00
Patrik Willard
8fbe51d614
Update with review comments 2019-04-09 22:31:41 +02:00
Patrik Willard
a5bda652d0
Add option to not conceal one-character markers
Adds new configuration variable, "conceal_onechar_markers", defaulting
to on (preserving default behaviour)

Adds if-statement around relevant parts of code (as suggested in the
issue), which uses the new configuration variable.

Fix #315 - Don't conceal one-character markers
2019-04-09 08:17:56 +02:00
Rane Brown
848feb43e1 Add v2.5 release info. Issue #652 2019-04-07 09:04:46 -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
Rane Brown
1ba99ae135
Merge pull request #636 to support file exclusion in link generation 2019-03-31 13:29:11 -06:00
Rane Brown
c9229244a8 Don't change conceal behavior of wiki elements with max_urlsave option.
Closes #539
2019-03-30 21:52:56 -06: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
Rane Brown
14c5302697
Merge pull request #644 from hq6/hq6_dev
Add gnt mapping to jump to the next unfinished task in a wiki page.
2019-03-30 19:41: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
W
d089a2c65a
Add info about bold&italic text to the doc 2019-03-30 20:22:12 +00: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
Rane Brown
cdc9940887 Fix spelling per comment in #637 2019-03-25 08:44:59 -06: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
Michael F. Schönitzer
ae365a8b8f Merge branch 'master' into dev 2019-03-21 23:21:32 +01: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
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
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
da52523710 Add documentation for colorcodes. 2019-03-17 22:50:56 +01:00
Hugo Hörnquist
6f687aff52 Move location of %wiki_path% documentation. 2019-03-17 22:22:55 +01:00
Alexey Radkov
fa6342c454
Merge branch 'dev' into dev 2019-03-15 15:38:22 +03:00
Rane
f40f054441 Merge branch 'md_bold_italics' into dev
This fixes Markdown syntax for bold, italic, and bold_italic. With these
changes **bold** and __bold__, *italic* and _italic_, and
***bold_italic*** and ___italic_bold___ are shown correctly.
This closes #23, closes #189, closes #318, and closes #576.
2019-03-15 06:25:01 -06:00
Rane
1f1966a4f6 Add description of markdown specific text decorators 2019-03-15 06:12:35 -06: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
lyokha
07ba7339f1 added docs about new commands gq1 and gw1 2019-03-14 14:44:08 +03:00
EinfachToll
1b2643ea19 Clarify the description of hl_cb_checked in the doc
Ref #605
2019-02-04 21:48:18 +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
Stefan Huber
b8d0cf377d doc: Fix spelling for <Leader> 2019-02-01 17:43:05 +01:00
Daniel Quomsieh
72bbb1b740 fixed writing error 2019-02-01 17:43:05 +01:00
Steven Stallion
7699967a99 Initial commit 2019-02-01 17:43:05 +01:00
Stefan Huber
417490f30b doc: Fix spelling for <Leader> 2019-01-29 21:49:28 +01:00
EinfachToll
05de247f36 Revert "Update documentation"
This reverts commit 7ea136dd0b.
2019-01-17 21:57:39 +01:00
Michael F. Schönitzer
7ea136dd0b Update documentation 2019-01-03 21:02:21 +01:00
Kasper Socha
f9b8906985 Fix section number for anchor, closes #597 2019-01-03 17:20:31 +01:00
fte10kso
24f33e3e3f Clarify toggling of todo list items in visual mode 2019-01-03 17:20:31 +01:00
Hugo Hörnquist
6f7e40ff78 Add short documentation for %wiki_path%. 2018-10-21 20:50:16 +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
Daniel Quomsieh
f55ec31675 fixed writing error 2018-09-03 18:42:27 +02:00
Steven Stallion
9f797f6ad9 Initial commit 2018-07-21 02:04:13 +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
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
f96d0c26d3 Add section to doc about getting help via IRC
Fix #490
2018-05-15 21:26:05 +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
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
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
Michael F. Schönitzer
ec516cfdbd Once again 2018-04-04 17:03:49 +02:00
Michael F. Schönitzer
89d28a72c5
Merge branch 'beta' into dev 2018-04-04 02:27:27 +02:00
EinfachToll
8009e5c7cf Handle all combinations of 'autowriteall' and 'hidden'
Ref #445
2018-03-16 21:39:24 +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
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
7c2ae8a714
Merge pull request #373 from Nudin/wontdo
"Won't-do" state for checkbox list items
2017-11-04 14:23:50 -04: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
3cbc505fba Update Documentation to reflect EOL of MathJax CDN 2017-10-24 14:35:40 +02:00
Michael F. Schönitzer
d4240083f7 Merge pull request #3 from Nudin/individualli
Allow to specify additional chars for lists
2017-09-16 17:09:41 +02:00
Michael F. Schönitzer
41e653718e Allow to specify additional chars for lists 2017-09-16 16:30:22 +02:00
Michael F. Schönitzer
97ae634b9f Renamed command
Common prefix causes serious delays
2017-09-16 15:36:10 +02:00
Steven Schmeiser
7730fa28b5 add horizontal alignment to table documentation 2017-08-17 10:22:27 -04: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
EinfachToll
976cbbcd23 Add notes for gln and glp to the doc
Ref #369
2017-07-15 20:27:32 +02:00
s
0178114c7f add documentation entry for custom_wiki2html_args 2017-07-11 21:52:41 +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
2369fd73aa Add documentation for the %date placeholder
Ref #360
2017-07-08 22:02:44 +02:00
EinfachToll
ca95b3fc73 Add some remarks about nested syntaxes to the doc
Ref #329
2017-04-15 10:09:24 +02:00