News for hackers. Stuff that matters.
Re:Steve Losh's .vimrc by mun2mun on Friday November 18, 2011 @04:24PM (#3253485)
Even in new computer without net connection vanilla vim is good enough for editing. When sit in an alien computer with vanilla vim. At first I put these lines in .vimrc

   set nocp
   set hidden
   set ts=2
   set sw=2
   set autoindent
   set incsearch
   filetype on
   filetype plugin on
   map <C-J> <C-W>j
   map <C-K> <C-W>k
   map <C-l> <C-W>l
   map <C-h> <C-W>h
For buffer management, combination of :ls, :b and :b# does the job well enough, compiling command-t plugin isn't necessary :). For listing of files there is :sexplore . For code browsing there is plain old ctags. There you go, almost 90% of environment created. Other things like surround or snipets support would be better. But I don't use them most of the time :).

There are no comments on this comment yet.