![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VIM
baoeni
爱编程,爱web,爱生活
展开
-
vim设置新文件扩展
vim - Set filetype for a new file extension I thought this would be quite difficult, but it turned out to be simple, you just need one line in your .vimrc au BufNewFile,BufRead *.new_file_exte原创 2014-07-07 21:13:21 · 197 阅读 · 0 评论 -
vim 小计
vim 小计 现在经常要用到vim,感觉它和一般的编辑器很不同,的确是非常难却又非常强大的东西,我之前掌握的皮毛显然是不能再提高生产力了,想着如果能学好应该是收益颇丰,现在记下我这周学的东西: Navigate: 之前一直只知道jkhl,0^$,ctrl+F, ctrl+B,现在知道w e b 和H M L ,方便多了。还有%来查看括号,对编程很有帮助。 Insert:原创 2014-07-07 21:14:26 · 273 阅读 · 0 评论 -
vim中显示git grep内容
show git grep results in vim If you want to show a git grep results into vim tabs, here is how to do so: //-p to open tabs, -O to open in split windows, -n No swap file, use memory only, $ or原创 2014-07-07 21:08:36 · 141 阅读 · 0 评论 -
在vim中显示git commit的文件
show git show in Vim //show files for a commit in vim tabs vim -pn $(git show --pretty="format:" --name-only SHAxxxx )原创 2014-07-07 21:08:28 · 542 阅读 · 0 评论