目前已轉換到spacemacs
這文章基本上沒用了

我的vim設定檔備份在(非公開):
https://cwza@bitbucket.org/cwza/myvimsetting.git

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<F8> 關閉視窗
<F9> NERDTreeToggle
<F5> python compile
<F4> vim cmd internal
nerdcommenter: 快速註解
[count]<leader>cc --comment this [count] line
[count]<leader>cu --uncomment this [count] line
CtrlP: 快速檔案搜尋
<C-t>
EasyMotion
,,w --forward EasyMotion
,,b --backward EasyMotion
Indent Motion
,] --move to the end of the current indentation-delimited block
,[ --move to the beginning of the current indentation-delimited block
YRShow
<F10> --show previos delete words and can paste those
:%s/欲取代字串/被取代字串/g
u undo
<C-r> cancel undo
. redo
:vert vimdiff file2
<C-q> 區塊選取 then <I> 區塊插入
vimgrep
:vimgrep keyword * --find keyword from all files under current directory
:vimgrep keyword ** --find recursive
<leader>c --open all find files list