講師 : 謝議霆
i | I | ||
a | A | ||
o | O |
hjkl | n+hjkl | ||
0 or [home] | $ or [end] | ||
^ | gg | ||
G | nG | ||
ctrl+f or [pgdn] | ctrl+b or [pgup] | ||
w | nw |
p | P | ||
dd | yy | ||
ndd | nyy | ||
dG | yG |
u | U | ||
ctrl+r | . |
:w | :w! | ||
:q | :q! | ||
:wq | :wq! | ||
:w 檔名 | :e 檔案 | ||
:! 命令 | :tabnew 檔名 |
/關鍵字 | ?關鍵字 | ||
n | N | ||
:s/原字串/新字串/ | :s/原字串/新字串/g | ||
:s/原字串/新字串/i | *** | :n1,n2s/原字串/新字串/g | |
:%s/原字串/新字串/g | :%s/原字串/新字串/gc |
Text
Text
Text
Text