Vim auto align columns

Best trick ever i found on vim : if you start with rough space, comma delimited files to align them just type in command :  :%!column -t AWESOME !!! I love VIM nJoy 😉

Removing ctrl M (^M) from files in vi

It’s a common thing to open a file on linux and discover it was flooded with ^M symbols after being editted in windows by some windows user. The ^M symbol is pretty harmless usually (it is the representation of alternate CR carriage return or move to beginning of line). An old IBM /PCDOS artefact not…

Installing vim editor.

To install vim [root@testarossa-00-0c-29-47-8f-35 ~]# yum whatprovides vim-enhanced Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.crazynetwork.it * epel: fr2.rpmfind.net * extras: mirror.crazynetwork.it * updates: mirror.crazynetwork.it 2:vim-enhanced-7.0.109-7.el5.i386 : A version of the VIM editor which includes : recent enhancements. Repo : base Matched from: [root@testarossa-00-0c-29-47-8f-35 ~]# yum install vim-enhanced-7.0.109-7.el5.i386 Loaded plugins: fastestmirror…

VIM cheat sheet

< The list of Vim commands > Working with files Vim command Action :e filename Open a new file. You can use the Tab key for automatic file name completion, just like at the shell command prompt. :w filename Save changes to a file. If you don’t specify a file name, Vim saves as the file name…