19 lines
811 B
Plaintext
19 lines
811 B
Plaintext
|
" Do use vim defaults: Syntax hilighting and more
|
||
|
unlet! skip_defaults_vim
|
||
|
source $VIMRUNTIME/defaults.vim
|
||
|
|
||
|
set number " Show line numbers.
|
||
|
set relativenumber "Show relative line numbers
|
||
|
|
||
|
set autoindent " keep indent for next line
|
||
|
set hlsearch " Enable search highlighting.
|
||
|
set ignorecase " Ignore case when searching.
|
||
|
set incsearch " Incremental search that shows partial matches.
|
||
|
set smartcase " Automatically switch search to case-sensitive when search query contains an uppercase letter.
|
||
|
set nowrap " Disable line wrap
|
||
|
set laststatus=2 " Always display the status bar.
|
||
|
set noerrorbells " Disable beep on errors.
|
||
|
set mouse=a " Enable mouse for scrolling and resizing.
|
||
|
set background=dark " Use colors that suit a dark background. (I use black terminal background)
|
||
|
set history=1000 " Increase the undo limit.
|