47 lines
840 B
VimL
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>
|