1
0
Fork 0
dotfiles/vim/.vimrc
Jeremy Kaplan 8210279ce0 vim config
2017-09-01 18:18:54 -07:00

47 lines
840 B
VimL

runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect()
syntax on
filetype plugin indent on
set number
set t_Co=256
set background=dark
" colorscheme Tomorrow-Night-Bright
colorscheme jdkaplan
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
set wrap
set linebreak
set nolist
set textwidth=0
set wrapmargin=0
set ignorecase
set smartcase
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
autocmd BufWinLeave * call clearmatches()
map ; :
noremap ;; ;
map ;h :wincmd h<CR>
map ;j :wincmd j<CR>
map ;k :wincmd k<CR>
map ;l :wincmd l<CR>
map ;" :split<CR>
map ;% :vsplit<CR>
map ;0 :close<CR>
map ;w :w<CR>