.vimrc: Cleanup

Remove duplicate incsearch and move color options together.
This commit is contained in:
Alan Orth 2017-03-19 20:10:17 +02:00
parent 94db3bdd01
commit e3b1138917

3
.vimrc
View File

@ -4,8 +4,6 @@ set softtabstop=4 " number of spaces in tab when editing
set shiftwidth=4 " number of spaces in an indent set shiftwidth=4 " number of spaces in an indent
set expandtab " tabs are spaces set expandtab " tabs are spaces
set backspace=2 " backspace like in a graphical text editor set backspace=2 " backspace like in a graphical text editor
set background=dark
set incsearch
set wildmode=longest,list " change filename autocomplete to be more like bash set wildmode=longest,list " change filename autocomplete to be more like bash
set mouse=v " some vim defaults to mouse=a, which sucks for copying and pasting in Xorg set mouse=v " some vim defaults to mouse=a, which sucks for copying and pasting in Xorg
syntax on syntax on
@ -13,6 +11,7 @@ filetype on " enable file type detection
filetype plugin on " enable file type plugins filetype plugin on " enable file type plugins
filetype indent on " enable file type indents filetype indent on " enable file type indents
set background=dark
colorscheme solarized colorscheme solarized
" for per-directory vimrc files " for per-directory vimrc files