VIM
baoeni
爱编程,爱web,爱生活
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
vim设置新文件扩展
vim - Set filetype for a new file extensionI thought this would be quite difficult, but it turned out to be simple, you just need one line in your .vimrcau BufNewFile,BufRead *.new_file_exte原创 2014-07-07 21:13:21 · 272 阅读 · 0 评论 -
vim 小计
vim 小计现在经常要用到vim,感觉它和一般的编辑器很不同,的确是非常难却又非常强大的东西,我之前掌握的皮毛显然是不能再提高生产力了,想着如果能学好应该是收益颇丰,现在记下我这周学的东西:Navigate:之前一直只知道jkhl,0^$,ctrl+F, ctrl+B,现在知道w e b 和H M L ,方便多了。还有%来查看括号,对编程很有帮助。Insert:原创 2014-07-07 21:14:26 · 337 阅读 · 0 评论 -
vim中显示git grep内容
show git grep results in vimIf 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 · 204 阅读 · 0 评论 -
在vim中显示git commit的文件
show git show in Vim//show files for a commit in vim tabsvim -pn $(git show --pretty="format:" --name-only SHAxxxx )原创 2014-07-07 21:08:28 · 679 阅读 · 0 评论
分享