Commit Graph

359 Commits

Author SHA1 Message Date
Alexey Radkov
72ad6d1b16 minor stylistic change 2014-05-04 20:46:00 +04:00
Alexey Radkov
4d1bb91dbe small fix in s:get_aligned_rows() 2014-05-04 18:42:00 +04:00
Alexey Radkov
cd25233cc8 fast <Tab> and <S-Tab> in Insert mode
this also fixes Tab navigation in a new added line
2014-05-04 17:09:42 +04:00
Alexey Radkov
b79977d6b8 further large table optimizations
1. s:get_aligned_rows(): getting 2 last rows is enough for having been
   formatted tables
2. vimwiki#tbl#get_cells(): using faster strpart() instead concatenating
   every new character into variables cell and quote
3. checking by getline() whether the line was changed before setline()
   does matter on slower computers
2014-05-04 15:46:19 +04:00
EinfachToll
9f92a375c1 Faster formatting of large tables
Ref #44
2014-04-30 12:15:51 +02:00
EinfachToll
88b61f4e30 Fix jumping to anchor sometimes not working 2014-04-14 13:11:26 +02:00
EinfachToll
8167c65499 Fix appending '#' to links
Ref #40
2014-03-13 16:33:39 +01:00
EinfachToll
3dbac3a8b7 Don't htmlize stuff inside pre tags
Ref #39
2014-03-10 10:01:32 +01:00
EinfachToll
a036ca54c6 Fix 424: External links with #, % don't work under Linux
Use the additional parameter for shellescape() only for system calls of
the form execute '!...', not for system(...).
2014-03-03 09:19:59 +01:00
EinfachToll
ddab77bb8f Fix spontaneous change of list symbol 2014-03-03 09:15:38 +01:00
EinfachToll
2eccebc7ea Fix list item containing only preformatted text behaving not properly 2014-03-03 09:13:41 +01:00
EinfachToll
44436f4581 Do some cleaning using vim-vimlint
Mostly turning global variables into script variables
2014-02-24 12:16:23 +01:00
EinfachToll
b1362ac161 VimwikiBacklinks finds only links to the current file
But doesn't take into account markdown style links
Ref #25
2014-02-18 14:52:35 +01:00
EinfachToll
8f6768d7e6 Update the doc and make some fixes regarding anchors
Solve #10
2014-02-18 14:47:42 +01:00
EinfachToll
8097083f46 Add anchors, jumping to anchors, TOC and completion
Ref #10
2014-02-13 12:42:24 +01:00
EinfachToll
e6735215ed Reactivate and fix html.vim to make it work with lists 2014-02-03 11:41:55 +01:00
Hector Arciga
69c17a5fec Fix for visual mode link creation 2014-01-08 19:10:20 -06:00
EinfachToll
41d46eb42a Fix CR not working in one circumstance 2014-01-06 13:56:10 +01:00
EinfachToll
68ae7d57fb Some more small cleanups 2014-01-06 13:54:11 +01:00
EinfachToll
9810ff1c55 g:vimwiki_listsyms is a string again, not a list
this is to be backwards compatible
we still need to split it into a list internally, because indexing
doesn't work for unicode symbols
2014-01-06 13:49:29 +01:00
EinfachToll
96dfabb03b When pressing S-Tab, always jump to prev link
not to the start of the link the cursor is on
2014-01-06 13:37:33 +01:00
EinfachToll
f5634c92e1 fold also multiline items (folding is still slow) 2014-01-06 13:32:45 +01:00
EinfachToll
072ba175f7 More functions moved around 2014-01-06 13:30:33 +01:00
EinfachToll
19e4cf90ef Fix cursor misplacement after CR in front of space 2014-01-06 13:07:56 +01:00
EinfachToll
ea95f3fc36 Indent after colon only if at end of line
because there are problems otherwise
2014-01-06 13:06:31 +01:00
EinfachToll
373ad1cee5 clean up lst.vim, move functions around
no actual change in behavior or so
2014-01-06 13:03:07 +01:00
EinfachToll
9821aaf528 (not complete) integration of peggi for html conversion 2014-01-06 12:54:34 +01:00
EinfachToll
3be4ba8fd2 Of course, I forgot the a: again
References #24
2013-11-06 13:46:12 +01:00
EinfachToll
b37db4e109 Basic support for remote drectories via netrw
References #24
2013-11-06 13:34:45 +01:00
EinfachToll
140d32fcdd Add text objects for list items
I put the function in lst.vim, not base.vim because it uses some
functions from lst.vim and because it's list stuff.
2013-10-30 10:53:34 +01:00
EinfachToll
e9b1b66807 Prevent the cursor from jumping around on gl* 2013-10-29 13:10:16 +01:00
EinfachToll
a389d7ebd7 Make i_<c-t> work in an empty line 2013-10-29 13:06:02 +01:00
EinfachToll
0be8924759 Insert new item at the right level on <S-CR> 2013-10-29 13:03:10 +01:00
EinfachToll
eb44af27c2 clear a [.] or [o] or [O] item if it has no more children after moving 2013-10-29 12:58:03 +01:00
EinfachToll
c09d31d1a8 a new list item is inserted at the right level
when pressing i_<c-l><c-m>
2013-10-16 12:20:08 +02:00
EinfachToll
391cbd827d Refactor ugly functions
to more ugly ones ;)
2013-10-16 12:18:50 +02:00
Maxim Kim
3eaaf12b2d Merge branch 'new-lists' of github.com:vimwiki/vimwiki into new-lists 2013-09-08 14:53:42 +04:00
Maxim Kim
8a46108ef6 Issue #13: VimwikiRenameLink don't update links with dot. 2013-08-17 20:10:00 +04:00
Maxim Kim
b09077c908 Issue #12: multiple diary with calendar
Unfortunatly there is no way to update calendar signs when wiki is
changed. We could convince calendar mainteiner to provide a hook.
2013-08-15 19:21:08 +04:00
EinfachToll
b61b74d037 Fix computation of level of items when using Media syntax 2013-07-29 10:51:50 +02:00
EinfachToll
c3ba10ca12 Fix weird behavior when pressing CR and Spaces follow
That's because Vim silently deletes the trailing whitespaces when
pressing enter
2013-07-29 10:42:13 +02:00
EinfachToll
6317912520 Fix checkboxes not getting updated in some cases 2013-07-29 10:36:43 +02:00
EinfachToll
911f2d4a8c Never alter a checkbox if it has no children with checkboxes 2013-07-24 13:07:42 +02:00
Maxim Kim
e30aa56722 Issue 4: List folding doesn't work
Using new list functions to determine list fold level.
As a regression there is no folds for multilined list item's text.

1. item 1
2. item 2
   multilined
	 that is not
	 folded now
3. item 3

Previous method was able to fold item 2. I am not sure if we should fix
it or not.
2013-07-24 11:09:41 +04:00
EinfachToll
b26591437b Revert more of my earlier commit in order to fix #6 2013-07-22 12:54:03 +02:00
EinfachToll
5b2f01094b normal behavior of i_<C-T> and i_<C-D> when not on list item 2013-07-22 10:33:32 +02:00
EinfachToll
0822759ac3 Clean up messy function and fix i_<S-CR> sometimes not working 2013-07-22 10:30:30 +02:00
EinfachToll
8c5760ae98 Simplify detection if two markers have same kind
Ref #5
2013-07-22 10:19:54 +02:00
Maxim Kim
58e072fa92 Do not load whole syntax file for a buffer twice.
Load twice only regexes for a concrete syntax.
2013-07-18 09:55:24 +04:00
EinfachToll
79b78dc9ee Move around and simplify the code for initialization 2013-07-17 15:57:35 +02:00
Maxim Kim
6d15d32652 Issue 2: g:vimwiki_rxListBullet is not defined
Move g:vimwiki_rxListBullet definition to corresponding syntax files.

Restore multiple bullets (*, **, ***) functionality, set up vimwiki
default lists have only one bullet.
2013-07-14 20:58:46 +04:00
Maxim Kim
a405c7317a Do not add multiple * on gll
Lists in default vimwiki syntax has no multiple * as bullet point.
This behaviour could be implemented for media syntax.
2013-07-11 23:23:47 +04:00
EinfachToll
813b3bb5a3 Fix marker adjustment on gll 2013-07-09 13:02:37 +02:00
EinfachToll
8744a31031 support for numbered lists and much other list stuff 2013-07-08 11:37:35 +02:00
Maxim Kim
5faf884dc6 Add missing helper markdown converter from google code. 2013-06-17 07:50:44 +04:00
mwcz
a0bd07e629 pull in vimwiki 2.1 from vim.org 2013-04-21 13:19:54 -04:00
Maxim Kim
d19cc85a71 Version 2.0.1.stu
* Follow (i.e. open target of) markdown reference-style links.
  * Bug fixes.
2012-08-08 01:14:35 -05:00
Maxim Kim
d5a6d097da Version 2.0.stu
This release is partly incompatible with 1.2.

You should delete previous version of vimwiki before install.

= Summary =

    * Quick page-link creation.
    * Redesign of link syntaxes (!)
        * No more CamelCase links. Check the ways to convert them http://goo.gl/15ctX
        * No more [[link][desc]] links.
        * No more [http://link description] links.
        * No more plain image links. Use transclusions.
        * No more image links identified by extension. Use transclusions.
    * Interwiki links.
    * Link schemes.
    * Transclusions.
    * Normalize link command.
    * Improved diary organization and generation.
    * List manipulation.
    * Markdown support.
    * Mathjax support.
    * Improved handling of special characters and punctuation in filenames and urls.
    * Back links command: list links referring to the current page.
    * Highlighting nonexisted links are off by default.
    * Table syntax change. Row separator uses | instead of +.
    * Fold multilined list items.
    * Custom wiki to HTML converters.
    * Conceal long weblinks.
    * Option to disable table mappings.

For detailed information see issues list on
http://code.google.com/p/vimwiki/issues/list
0001-01-01 00:00:00 +00:00
Maxim Kim
84297c9051 Version 1.2
= Note =
Remove previous version of vimwiki before install - files in autoload dir is moved/renamed to autoload/vimwiki dir.

= Changelog =
* Issue 70: Table spanning cell support.
* Issue 72: Do not convert again for unchanged file. |:VimwikiAll2HTML|
  converts only changed wiki files.
* Issue 117: |VimwikiDiaryIndex| command that opens diary index wiki page.
* Issue 120: Links in headers are not highlighted in vimwiki but are
  highlighted in HTML.
* Issue 138: Added possibility to remap table-column move bindings. See
  |:VimwikiTableMoveColumnLeft| and |:VimwikiTableMoveColumnRight|
  commands. For remap instructions see |vimwiki_<A-Left>|
  and |vimwiki_<A-Right>|.
* Issue 125: Problem with 'o' command given while at the of the file.
* Issue 131: FileType is not set up when GUIEnter autocommand is used in
  vimrc. Use 'nested' in 'au GUIEnter * nested VimwikiIndex'
* Issue 132: Link to perl (or any non-wiki) file in vimwiki subdirectory
  doesn't work as intended.
* Issue 135: %title and %toc used together cause TOC to appear in an
  unexpected place in HTML.
* Issue 139: |:VimwikiTabnewLink| command is added.
* Fix of g:vimwiki_stripsym = '' (i.e. an empty string) -- it removes bad
  symbols from filenames.
* Issue 145: With modeline 'set ft=vimwiki' links are not correctly
  highlighted when open wiki files.
* Issue 146: Filetype difficulty with ".txt" as a vimwiki extension.
* Issue 148: There are no mailto links.
* Issue 151: Use location list instead of quickfix list for :VimwikiSearch
  command result. Use :lopen instead of :copen, :lnext instead of :cnext
  etc.
* Issue 152: Add the list of HTML files that would not be deleted after
  |:VimwikiAll2HTML|.
* Issue 153: Delete HTML files that has no corresponding wiki ones with
  |:VimwikiAll2HTML|.
* Issue 156: Add multiple HTML templates. See
  |vimwiki-option-template_path|. Options html_header and html_footer are
  no longer exist.
* Issue 173: When virtualedit=all option is enabled the 'o' command behave
  strange.
* Issue 178: Problem with alike wikie's paths.
* Issue 182: Browser command does not quote url.
* Issue 183: Spelling error highlighting is not possible with nested
  syntaxes.
* Issue 184: Wrong foldlevel in some cases.
* Issue 195: Page renaming issue.
* Issue 196: vim: modeline bug -- syn=vim doesn't work.
* Issue 199: Generated HTML for sublists is invalid.
* Issue 200: Generated HTML for todo lists does not show completion status
  the fix relies on CSS, thus your old stylesheets need to be updated!;
  may not work in obsolete browsers or font-deficient systems.
* Issue 205: Block code: highlighting differs from processing. Inline code
  block {{{ ... }}} is removed. Use `...` instead.
* Issue 208: Default highlight colors are problematic in many
  colorschemes. Headers are highlighted as |hl-Title| by default, use
  |g:vimwiki_hl_headers| to restore previous default Red, Green, Blue or
  custom header colors. Some other changes in highlighting.
* Issue 209: Wild comments slow down html generation. Comments are
  changed, use %% to comment out entire line.
* Issue 210: HTML: para enclose header.
* Issue 214: External links containing Chinese characters get trimmed.
* Issue 218: Command to generate HTML file and open it in webbrowser. See
  |:Vimwiki2HTMLBrowse|(bind to <leader>whh)
* NEW: Added <Leader>wh mapping to call |:Vimwiki2HTML|
2011-06-23 15:26:36 -07:00