" my ~/.vimrc file "-----------------------------------------BEGIN--------------------------------- " vim settings, rather than vi settings: must come first, because it changes other options as a side effect. set nocompatible " switch syntax highlighting on syntax enable colorscheme koehler set omnifunc=syntaxcomplete#Complete " show line numbers set number " load filetype-specific indent files filetype indent on filetype plugin indent on " paste with formatting set paste " highlight matching brackets set showmatch " show command in bottom bar set showcmd " show column numbers set ruler " allow hidden buffers, don't limit to 1 file per window/split set hidden " normal backspace behaviour set backspace=indent,eol,start " PEP8 compliance for python files set tabstop=4 " number of visual spaces per Tab set softtabstop=4 " number of spaces in tab when editing set shiftwidth=4 set textwidth=79 set expandtab " tabs are spaces set autoindent set fileformat=unix set autowrite set foldenable " enable folding set foldlevelstart=10 " open most folds by default set foldnestmax=10 " 10 nested fold max set foldmethod=indent set foldlevel=99 " highlight matches set hlsearch " search as characters are entered set incsearch " disable arrow keys, use hjkl instead noremap <Up> <NOP> noremap <Down> <NOP> noremap <Left> <NOP> noremap <Right> <NOP>
Comments
0 B
|👍
/👎
0 B
|👍
/👎