News for hackers. Stuff that matters.
Re:What is in your .vimrc by duggan on Saturday August 20, 2011 @06:20PM (#2907874)
I'm not sure how many man-hours were lost to fatfingering :wq as :Wq or :w as :W, but a simple alias has solved that particular bit of grief:

   cnoreabbrev Wq wq
   cnoreabbrev W w
The rest of my .vimrc mostly belongs to the guy I caught the vim addiction from, but sets some useful defaults: https://github.com/duggan/dotfiles/blob/master/.vimrc
Re:What is in your .vimrc by ElbertF on Saturday August 20, 2011 @07:08PM (#2907983)
Mapping ; to : and vise versa is a more elegant solution in my opinion (no need to press shift).

Here's my .vimrc: https://github.com/ElbertF/dotfiles/blob/master/.vimrc

Re:What is in your .vimrc by quadhome on Saturday August 20, 2011 @08:56PM (#2908194)

  ZZ
Re:What is in your .vimrc by nagnatron on Saturday August 20, 2011 @06:50PM (#2907934)
Using :x kinda solves the :Wq issue
Re:What is in your .vimrc by huhtenberg on Saturday August 20, 2011 @07:43PM (#2908066)
By the way :X is encrypt. Now guess how I know that... :)
Re:What is in your .vimrc by nagnatron on Sunday August 21, 2011 @08:33AM (#2909075)
I DID NOT know that and I withdraw my advice above :)
Re:What is in your .vimrc by graywh on Sunday August 21, 2011 @09:41AM (#2909166)
Also, :wq always writes; :x only writes when the buffer is modified (like :up | q).