h Move left j Move down k Move up l Move right w Move to next word W Move to next blank delimited word b Move to the beginning of the word B Move to the beginning of blank delimited word e Move to the end of the word E Move to the end of blank delimited […]
Vim Tips
How To Remove ^M Characters in Vim?
Moved a text file between tow different operating systems? Found the annoying ^M special character? Here are ways to remove ^M character. To remove ^M within a line (without creating a a line break) :%s/^V^M//g To remove ^M within a line (creating a a line break) :%s/^V^M/^V^M/g
How to Make Vim More Colorful? Hint: Use Color Scheme
Are you not satisfied with the colors you have on Vim? Vim has loads of options to make your Vim editing colorful and cheerful experience. The basic command in Vim to switch on colors or switch off colors is “syntax”. Just to try and see how the syntax command changes the colors on your Vim […]
How to Move Around using Vim on Terminal?
Vim is one of the most powerful editors available for the terminal. One may think moving around the page is little painful, as the page up and down keys do not work in Vim in the default setting. Vim offer multiple ways to move around the Vim page. With just two keystrokes you can move […]