Autocomplete (Suggestions) feature in Vim
While writing programs, you will be using the function names, variable names and keywords (language specific like in C/C++ , int, void, float are commonly used keywords) again and again. The best feature for any editor is to have an auto-complete option. If you wonder what is an auto-complete option, it is the option to [...]
Case Insensitive Search in Vim
By default, the search in Vim editor is case sensitive. But you can also perform case insensitive searches. Suppose you are searching for the pattern Vim or vim or vIm. Go to the ESCAPE mode (by pressing ESC key) Enter :set ic (Note that the semicolon in the beginning is must), ic corresponds to ignore [...]
Case Sensitive Search in Vi/Vim
By default, the search in Vim editor is case sensitive. But in cases, where the search is turned to case insensitive using the vim settings file: .vimrc, it can be overridden by the following way Suppose you are searching for the pattern Vim Go to the ESCAPE mode (by pressing ESC key) Enter :set noic [...]
Vim Tips: How to scroll half a screen?
To scroll a text page by page in the escape mode, we can make use of CTRL+F and CTRL+B. But for better and easier navigation, we would to move half a screen at a time. Make use of the following shortcuts CTRL+D : Scroll Down half a Page/Screen CTRL+U: Scroll Up half a page/Screen Tips [...]
Vim Tips: How to perform Page Up/Down?
For navigating in Vim, we normally make use of the arrow keys (in insert mode) or h-j-k-l combination (usually in Escape mode). To navigate the text page by page, you need the following commands CTRL+F : Page Down CTRL+B: Page Up Tips to remember these shortcuts, assume F and B as follows CTRL + F: [...]