Add vim
This commit is contained in:
parent
9f3dbabda9
commit
def4422737
13 changed files with 108 additions and 0 deletions
32
vim/.vimrc
Normal file
32
vim/.vimrc
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
|
||||
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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue