Vim Configuration
My preferred default Vim configuration settings in ~/.vimrc
| Setting | Description |
|---|---|
syntax on |
Turn on syntax highlighting |
set number |
Turn on line number display |
set hlsearch |
Turn on search highlight |
set incsearch |
Turn on incremental search |
set tabstop=4 |
Set tab stops to 4 spaces |
set expandtab |
Replace tabs with spaces |
set clipboard^=unnamed,unnamedplus |
Using default registers * and + copies to/from system clipboard |
set ignorecase |
Set case-insensitve searches by default |
set smartcase |
Set case-sensitive search if search keyword is a mix of upper/lowercase |