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

yearTemperature(low)Temperature(high)
1900-1025

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

转载于:https://www.cnblogs.com/jonathanlife/p/3266622.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值