vim向上向下移动指定行数
摘要:数字+Ctrl+d 向下移动数字+Ctrl+u 向上移动注意,不用进入v模式。感谢:http://www.cnblogs.com/smstars/archive/2013/05/18/3085335.html 童鞋
阅读全文
vim快速查找
摘要:转载自:http://blog.chinaunix.net/uid-26770731-id-3257223.html如何选择、复制或者查找光标所在的单词?在VIM中用iw或者aw表示一个单词,两者稍有区别。选择光标所在的单词:viw (v进入visual模式,然后iw)复制光标所在的单词:yiw查找...
阅读全文
Show line numbers by default in Vim
摘要:Addset numberto your.vimrcfile in your home directory.Source :http://stackoverflow.com/questions/10274146/vim-how-can-i-have-line-numbers-be-on-by-def...
阅读全文
Vim copy multiple words
摘要:1.v Enter selection mode2.select the range3.y4.p/Pdone !
阅读全文