2010-01-28 22:27:08 +03:00
|
|
|
set nu
|
|
|
|
set ts=4
|
2013-01-24 12:14:26 +03:00
|
|
|
set expandtab
|
2010-01-28 22:27:08 +03:00
|
|
|
set sw=4
|
|
|
|
set bs=2
|
2013-05-02 21:45:06 +03:00
|
|
|
set bg=dark
|
2015-11-02 08:16:55 +03:00
|
|
|
set incsearch
|
2010-01-28 22:27:08 +03:00
|
|
|
set paste
|
2013-05-07 12:17:26 +03:00
|
|
|
set wildmode=longest,list " change filename autocomplete to be more like bash
|
2010-01-28 22:27:08 +03:00
|
|
|
set mouse=v " some vim defaults to mouse=a, which sucks for copying and pasting in Xorg
|
|
|
|
syntax on
|
2014-10-11 19:25:05 +03:00
|
|
|
filetype on " enable file type detection
|
|
|
|
filetype plugin on " enable file type plugins
|
|
|
|
filetype indent on " enable file type indents
|
2013-04-21 16:45:32 +03:00
|
|
|
|
|
|
|
colorscheme solarized
|
2016-10-31 13:26:12 +02:00
|
|
|
|
|
|
|
" for per-directory vimrc files
|
|
|
|
" see: https://jezenthomas.com/how-i-write-invoices-in-vim/
|
|
|
|
set exrc " Enable use of directory-specific .vimrc
|
|
|
|
set secure " Only run autocommands owned by me
|