VIM is a powerful editor with a rich ecosystem and many many features it's used by many users around the world in their daily administrations and development tasks.
This tip is very useful if you want to use VIM (mainly) as your source code editor.
How to make VIM insensitive to uppercase and lowercase letters in a search?
Vim by default is case sensitive but this behavior can be modified through the options: ignorecase, ic, noignorecase, noic or adding c to the search pattern
Note: If you are in insert mode you must press Esc to switch to Normal mode
Find all words that contain category regardless of uppercase and lowercase letters
Edit the file /etc/vimrc (global) or ~/.vimrc (at the level of user) and add:
The first version was released in November 1991, for the Amiga platform. A year later came the first version for UNIX. Its author, Bram Moolenar, was inspired by VI editor, very popular among the UNIX followers. Vim inherits the features of VI and adds new ones, being a 99% compatible with its predecessor when it starts in compatible mode.
Its development model under a GPL compatible license and the new built-in features made VIM gain a lot of followers very quickly becoming one of the most popular editors. Currently the most GNU/Linux distributions incorporate it as the text editor by default.
|From / to||Normal||Insert||Cmdline||Visual||Select||Ex|
|Normal||i, Shift i||:, /, ?, !||v, Shift v, Ctrl v||gh, g Shift h, g Ctrl h||Shift q|
|Cmdline||Enter, Esc, Ctrl c||:start||--||--||--|
|Visual||Esc, v||c, Shift c||:||Ctrl g||--|
|Select||*||**||--||Ctrl o, Ctrl g||--|
* You can change from Select selection to Normal mode pressing one of the buttons ← → ↑ ↓
** You can enter in insert mode holding any printable character
Vim also has a user interface (gVim), which may be more friendly for beginners, however veterans administrators prefer use it in text mode
The latest stable version is the 7.4.x Also the binary is available for the following platforms: UNIX, MS-DOS / MS-Windows, Macintosh, Amiga, OS/2, Cygwin, other.
Schulz, Kim. Hacking Vim