Switch.vim by Andrew Radev
is a highly customizable plugin that will help you do substitutions faster than ever.
Usage
The plugin is simple to use, since it has one main entry point - the command :Switch. It’s highly
encouraging to map it to a key, as the author suggests in the documentation:
1
nnoremap- :Switch<cr>
It comes with support for Ruby, PHP, Eruby, C and CoffeeScript. However, you can easily
add your own switch definitions and make it even more powerful.
You can switch between the following definitions by invoking the :Switch command. Here are some of the built-ins: