Pario TechnoBlob
About Posts

Tag: vim

Indent/format an entire file using vim You can format/indent an entire file using the vim editor and the gg=G command. gg - Goto the beginning of the file = - apply indentation G - till end of file If you decide...
Jul 14, 2010 2:12PM
Switch off annoying bell/beep in xterm My colleagues don’t like all the bell/beep sounds I make when I’m working in a xterm through my putty ssh client. To please them I’ve added this line to /etc/inputrc to...
Oct 17, 2007 10:33AM
Make arrowkeys in Debian vi work Put this line in your ~/.vimrc set esckeys Another alternative is to install vim aptitude install vim And do the necessary changes on the settings file /etc/vim/vimrc
Sep 9, 2007 11:42PM
vim search and replace text Different ways of replacing text etc. Replace every occurrence of pattern1 (pat1) with pat2 :g/pat1/s//pat2/g Replace every occurence of pattern1 (pat1) with a newline...
May 7, 2007 1:14PM
«« « 1 2 » »»
Posts About
© 2007-2020 Pario TechnoBlob
Powered by Axiom