News for hackers. Stuff that matters.
Re:Steve Losh's .vimrc by qdog on Friday November 18, 2011 @12:19PM (#3252473)
echo set ts=3 > ~/.vimrc echo "Toggle search highlighting on and off with F5 >> ~/.vimrc echo map "<F5> : set hls\!<bar>set hsl?<CR>" >> ~/.vimrc

Everything else is gravy for me. While an extended rc is handy and I often store one where I can get to it, if I'm just editing a couple of files, vanilla + the tab size I want and a shortcut to highlighting search terms gets me going. YMMV

I tried to get into emacs, but I kept coming back to vim. Probably because the first editor I really used was a version of 'ed' back when I played MUDs.

Re:Steve Losh's .vimrc by sce on Saturday November 19, 2011 @06:01AM (#3255073)
Enter is actually a good candidate for something like that:

  " turn off highlighted results (set nohlsearch) when pressing enter.
  " just pressing n or N will turn the highlight back again
  nnoremap <cr> :noh <cr>
https://github.com/sce/dotfiles