nvim/vimrc

39 lines
770 B
VimL

set nocompatible
silent! runtime bundle/vim-pathogen/autoload/pathogen.vim
silent! execute pathogen#infect()
set autoindent
set background=dark
set directory=.,$TEMP
set expandtab
set linebreak
set number
set omnifunc=syntaxcomplete#Complete
set printoptions=paper:A4,duplex:off,header:0
set ruler
set shiftwidth=4
set spl=en_gb spell
set tabstop=4
set textwidth=72
set wrap
silent! colorscheme desert
silent! filetype plugin indent on
silent! syntax on
if has("gui_running")
if has("gui_gtk2")
set guifont=Monospace\ 10
elseif has("gui_win32")
set guifont=Consolas:h10:cANSI
endif
set columns=88
set lines=40
try
colorscheme solarized
catch /^Vim\%((\a\+)\)\=:E185/
colorscheme darkblue
endtry
endif