Its best to use something like PeepOpen, command-t, fuzzyfinder to open files. If you want tree structure I just use terminal and aliased:
alias l='ls -AlGFh'
VIM also looks much nicer with just a single file open. The left panel for NERDTree looks hacky.
Once the files are open, I tend to use buffers, splits and tabs to navigate between them. NERDTree is just used to load a file into a Vim buffer. Also note that the NERDTree explorer replaces the default vim file explorer.
I heard good things about Command-T though, maybe I'll try that and see if it works better with my workflow than NERDTree.
" This removes the left hand scrollbar from the current guioptions.
Regardless, I think this is a useful resource and I'd love to have a cheat sheet with it. Thanks!
OS-agnostic methods are outside the scope of the guide, which is only intended for those coming from Textmate, implying that they are on a Mac. If I were to accommodate everyone it would get too messy to fulfill its primary purpose. The single responsibility principle applies equally to tutorials.
* "File>new" can be done by ':enew'
* top of the file is 'gg' and not just 'g'
* bottom of the file is 'G' and not 'GG' ;)
* in addition to ':20<CR>' you can use just '20G' to go to
* to sort all of the file use ':%!sort<CR>', no need to use '0,$'
I changed the background to a light purple and switched to plain black text. Do you find it easier to read?
PS Unfortunately, now the contrast between table cells is almost lost. Don't know if it was intended.