An easier search with vim

Use incremental (search as you type) and case insensitive search in vim.

Edit ~.vimrc to add:

:set incsearch
:set ignorecase
:set smartcase
:set nu

ignorecase allow a case-insensitive search.  When smartcase is also used, it makes the search case-sensitive if the searched term contains an uppercase.

Thanks to Linux Magazine for the original article:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.