Learning Vim

最新发现的Vim里面的一些不太常用,但是非常强大的功能,包括列选定,分屏等等,学习并记录之。

这个思维导图来自于Joe Marinez的blog

vim

PDF版本下载

摘录下来从中学到的几个命令:

Marking Text:
v = start visual mode
V = start linewise visual mode
ctrl-v = start blockwise visual mode
o = move to other end of marked area
U = upper case of marked area
O = move to Other corner of block

> = shift right
< = shift left y = yank d = delete ~ = switch case Multi-File: :sp fn = open a file in new buffer and split window ctrl-w s = split window ctrl-w w = switch windows ctrl w - window commands ctrl-w q = quit a window ctrl-w v = split windows vertically Tab Commands: :tabe fn = edit file in new tab gt = next tab gT = previous tabs :tabr = First tab :tabl = Last tab :tabm [N] = move current tab after tab N

This entry was posted in 脚本语言 and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *