Vim Blog Posts

Remove ^M characters at end of lines in vim

Remove ^M characters at end of lines in vim To remove the ^M characters at the end of all lines in vim, use: :%s/^V^M//g The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like: :%s/^M//g...
by About Drupal development on Jun 13, 2012

Useful Linux tips and how to edit the /etc/sudoers file without error.

The magic SysRQ key combination is used to reset the Linux system if nothing else will work. To use this key combination, press: Alt+SysRQ then tap these keys in order: R, S, E, I, U, B. This will perform a safe re-boot of your Linux system assuming...
by Securitron GNU/Linux blog. on May 8, 2012

VIM for SVN commit

put into .bashrc export SVN_EDITOR=vim...
by About Drupal development on Apr 6, 2012

Basic Tutorial in Vim and rails.vim: The open source Rails editing platform

Coders knew Vim for the last twenty years for its unmatched efficiency in editing source code. Vim wasn' t too popular in the Rails community until lately when Tim Pope published his plug-in: Rails.vim. This plug-in and Vims legendary extendibility m...
by Computer And You on Jan 7, 2012
Close