configVim
2020-09-29584 chars

Vim .vimrc

" file: ~/.vimrc

" enable syntax highlighting
syntax enable
" enable line number display
set number
" ignore case for search
set ignorecase
" enable search highlight while typing the search pattern
set incsearch
" display the current cursor position in the lower right corner of the Vim window
set ruler
" display an incomplete command in the lower right corner of the Vim window, left of the ruler
set showcmd
" set scrolloff to keep the cursor in the middle of the screen
set so=100
" set the automatic indentation spaces for C or C style text
set cindent shiftwidth=2