Favorite (G)Vim plugins/scripts? [closed]

2019-03-07 18:58发布

What are your favorite (G)Vim plugins/scripts?

标签: vim editor
30条回答
仙女界的扛把子
2楼-- · 2019-03-07 19:58

TaskList

This script is based on the eclipse Task List. It will search the file for FIXME, TODO, and XXX (or a custom list) and put them in a handy list for you to browse which at the same time will update the location in the document so you can see exactly where the tag is located. Something like an interactive 'cw'

查看更多
狗以群分
3楼-- · 2019-03-07 20:01

A very nice grep replacement for GVim is Ack. A search plugin written in Perl that beats Vim's internal grep implementation and externally invoked greps, too. It also by default skips any CVS directories in the project directory, e.g. '.svn'. This blog shows a way to integrate Ack with vim.

查看更多
Luminary・发光体
4楼-- · 2019-03-07 20:01

clang complete - the best c++ code completion I have seen so far. By using an actual compiler (that would be clang) the plugin is able to complete complex expressions including STL and smart pointers.

查看更多
兄弟一词,经得起流年.
5楼-- · 2019-03-07 20:01

With version 7.3, undo branches was added to vim. A very powerful feature, but hard to use, until Steve Losh made Gundo which makes this feature possible to use with a ascii representation of the tree and a diff of the change. A must for using undo branches.

查看更多
smile是对你的礼貌
6楼-- · 2019-03-07 20:01

Just gonna name a few I didn't see here, but which I still find extremely helpful:

  • Gist plugin - Github Gists (Kind of Githubs answer to Pastebin, integrated with Git for awesomeness!)
  • Mustang color scheme (Can't link directly due to low reputation, Google it!) - Dark, and beautiful color scheme. Looks really good in the terminal, and even better in gVim! (Due to 256 color support)
查看更多
神经病院院长
7楼-- · 2019-03-07 20:02

I have recently started using a plugin that highlights differences in your buffer from a previous version in your RCS system (Subversion, git, whatever). You just need to press a key to toggle the diff display on/off. You can find it here: http://github.com/ghewgill/vim-scmdiff. Patches welcome!

查看更多
登录 后发表回答