Photo of vim charity: Kibaale Childrens Centre
-
This thing is amazing. With it, all the word-level editing you can do in vim you can do with CamelCase words or variables_with_dashes_in_them. For example, if the cursor was on the ‘h’ in ‘dashes’ in the example, doing
c,wwill delete ‘hes_’ and go into insert mode. It’s fantastically useful for editing code. -
I’ve written about this one before. Very useful for navigating rails projects.
:Rmodel postwill take you toapp/models/post.rbfrom anywhere.:Rmigrationwill take you to the most recent migration file,:Rmigration 0will take you to the schema. There are a ton of others… -
Another file navigation plugin, but this is for “alternate files”. If you’re editing a C file, it allows you to switch to the corresponding header file with a simple
:Acommand, and vice-versa. Works for many languages, including objective-c. -
I needed this coming from emacs. It provides the equivalent of emacs’ buffer list (
C-x C-b). The default keystroke to activate the list is\be. Once the list is up, you can change the sort, select a file to edit, etc. -
Another one that mirrors default emacs behavior. If you’re in insert mode and press tab, it will indent the line under the cursor. Sounds simple and perhaps useless, but my brain needs this plugin.