vim config
This commit is contained in:
parent
72cd780a16
commit
8210279ce0
1 changed files with 15 additions and 0 deletions
15
vim/.vimrc
15
vim/.vimrc
|
|
@ -16,6 +16,15 @@ set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
set shiftwidth=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
|
highlight ExtraWhitespace ctermbg=red guibg=red
|
||||||
match ExtraWhitespace /\s\+$/
|
match ExtraWhitespace /\s\+$/
|
||||||
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
|
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
|
||||||
|
|
@ -30,3 +39,9 @@ map ;h :wincmd h<CR>
|
||||||
map ;j :wincmd j<CR>
|
map ;j :wincmd j<CR>
|
||||||
map ;k :wincmd k<CR>
|
map ;k :wincmd k<CR>
|
||||||
map ;l :wincmd l<CR>
|
map ;l :wincmd l<CR>
|
||||||
|
|
||||||
|
map ;" :split<CR>
|
||||||
|
map ;% :vsplit<CR>
|
||||||
|
map ;0 :close<CR>
|
||||||
|
|
||||||
|
map ;w :w<CR>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue