Tricks with .vimrc

How to ignore case if no case letter in search field

   set smartcase 

Ultimate solution for removing ladder when you paste code

:set paste

You definitely can run this from .vimrc

set pastetoggle=<F2>

or

nnoremap <F2> :set invpaste paste?<CR>
set pastetoggle=<F2>
set showmode