Vimwiki使用笔记

vimwiki使用笔记

vimwiki


Vimwiku is a personal wiki for Vim -- a number of linked text files that have their own syntax hignlighting.

with Vimwiki,you can:

  • organize notes and ideas
  • manage todo-lists
  • write documentation

installation

    cd ~/.vim/bundle
    git clone https://github.com/vim-scripts/vimwiki.git

syntax

Inline links

[[ url | description ]]

Image Link

{{imageurl}}

Header

   == header2 ==
     = Centered Header1 =  

List

use *

  • list1
  • list2
    • list 11
    • list 22

Definition lists:

   Term 1:: Definition 1
   Term 2::
   :: De 2
   :: De 3

Table

year Temperature(low) Temperature(high)
1900 -10 25

code

can use ` or {{{

blockquotes

text starts with 4 or more spaces is a blockquotes

Horizontal line

------------------------

Schemes

special schemes are supported: "wiki#:", "local:", "diary:", "file:" for instance, index

Thumbnails

[[ http://someaddr.com/bigpicture.jpg|{{http://someaddr.com/thumbnail.jpg}}]] in html: in HTML: > <a href="http://someaddr.com/ ... /.jpg"> <img src="http://../thumbnail.jpg /></a>

folding/outline

* [] Do stuff 1
  * [] do substuff[ ] 1.1
  * [ ] do substuff[ ] 1.2
* [] Do stuff 2
  • Do stuff 1
    • do substuff[ ] 1.1
    • do substuff[ ] 1.2
  • Do stuff 2

key

Leader usually is \

  • <Leader>ww -- open defalut wiki index file
  • <Leader>wt -- open defalut wiki index file in a new tab
  • <Leader>ws -- select and open wiki index file
  • <Leader>wd -- delete wiki file you are in
  • <Leader>wr -- raname wiki file you are in
  • <Leader>wh -- convert current wiki page to HTML
  • <Leader>whh -- convert current wiki page to HTML and open it in webbrowser.
  • <Leader>w<Leader>w -- open/new today's diary
  • <Leader>w<Leader>t -- open/new today's diary in a new tab
  • <Leader>w<Leader>i -- update diary section in diary index
  • <Enter> -- follow/create wiki link
  • <Shift-Enter> -- split and follow/create wiki link
  • <Ctrl-Enter> -- Vertical split and follow/create wiki link
  • <Backspace> -- go back to parent wiki link
  • <Tab> -- find next wiki link
  • <Shift-Tab> -- find previous wiki link

posted on 2013-08-18 21:55  Jonathan爱学习  阅读(1690)  评论(0编辑  收藏  举报

导航