vimwiki 0.9

2009-03-31 10:30; Tags: ,

What’s new:

  • [new] You can add classes to ‘pre’ tag — :h vimwiki-syntax-preformatted. This might be useful for coloring some programming code with external js tools like google syntax highlighter.
  • [new] !WikiPage is not highlighted. It is just a plain word WikiPage in HTML.
  • [new] Definition lists, see :h vimwiki-syntax-lists.
  • [new] New implementation of :h VimwikiRenameWord. CAUTION: It was tested on 2 computers only, backup your wiki before use it. Email me if it doesn’t work for you.
  • [new] HTML: convert [ ] to html checkboxes.
  • [new] Default CSS: gray out checked items.
  • [fix] Less than 3 characters are not highlighted in Bold and Italic.
  • [fix] Added vimwiki autocmd group to avoid clashes with user defined autocmds.
  • [fix] Pressing ESC while :VimwikiUISelect opens current wiki index file. Should cancel wiki selection.

Get it from vimwiki downloads list.

Run vimscript, run!

2009-03-20 14:01; Tags: ,
:h :@

This is the command every Vim plugin developer should be aware of. I wish I knew about it earlier.

" eval selected vimscript
vmap <Leader>r "vy:@v<CR>
" eval vimscript line
nmap <Leader>r "vyy:@v<CR>

Now with this screwdriver in my hands I can tinker at variables and functions of my plugin/script/colorscheme easily. That’s convenient. :)

The only drawback is that it can’t eval vimscript’s longlines. Those with `\` in the beginning:

" remove trailing spaces
map <F4> m`:silent! %s/\(\s\+$\)\\|\(\r$\)//g<CR>``
      \:echo "Remove trailing spaces and ^Ms ..."<CR>

vimwiki 0.8

2009-03-06 00:09; Tags: ,

At last! Vimwiki supports multiple wikies.

If you upgrade from previous versions you should revisit all vimwiki’s options in your .vimrc.

Most important — g:vimwiki_home has gone. Check :h vimwiki-options for additional information.

Get Vimwiki 0.8 from its downloads list.

Powered by WordPress