Screen%20region%202014-09-18%20at%2017.37.07_large

Avishaan Sethi

Vim Mnemonic Devices

Easier way to remember what each vim command does.

Introduction

A pneumonic device helps us remember something seemingly abstract by giving it a familiar context. For instance in order to remember the planets in order from closest to furthest from the sun you could use the handy "My Very Educated Mother Just Served Us Nectarines".

When I first learned Vim I just . . .

Read More

Posted in: vim

December 18, 2015

Subvert with Vim Across Multiple files

If you aren't with it the following with work with built in vim :substitute

  1. Open one of the files you want to be included in your find and replace search.

  2. Add that open file to your args list with :argadd % or :arga %

  3. Repeat 1-2 above for all the files you want to include. You can do things like include all .js files with :argadd *.js

  4. You can check that you have all the files by typing :arg You will . . .

Read More

Posted in: vim

October 22, 2014

Archive