Add winfix maps, quote airline theme
This commit is contained in:
11
vimrc
11
vimrc
@@ -77,9 +77,7 @@ set complete=.,b,u,]
|
|||||||
set wildignore+=deps/*,node_modules/*,*.sw?
|
set wildignore+=deps/*,node_modules/*,*.sw?
|
||||||
|
|
||||||
color desert
|
color desert
|
||||||
if has("AirlineTheme")
|
let g:airline_theme="papercolor"
|
||||||
let g:airline_theme=papercolor
|
|
||||||
endif
|
|
||||||
|
|
||||||
" enable syntax highlighting if it is supported
|
" enable syntax highlighting if it is supported
|
||||||
if has("syntax")
|
if has("syntax")
|
||||||
@@ -201,6 +199,13 @@ map <C-Down> :wincmd j<CR>
|
|||||||
map <C-Left> :wincmd h<CR>
|
map <C-Left> :wincmd h<CR>
|
||||||
map <C-Right> :wincmd l<CR>
|
map <C-Right> :wincmd l<CR>
|
||||||
|
|
||||||
|
" Don't automatically resize windows to be the same.
|
||||||
|
set noequalalways
|
||||||
|
" Fix the width of the window
|
||||||
|
nnoremap <leader>wfw :set winfixwidth
|
||||||
|
" Fix the height of the window
|
||||||
|
nnoremap <leader>wfh :set winfixheight
|
||||||
|
|
||||||
" map <C-Up> :wincmd k<CR>
|
" map <C-Up> :wincmd k<CR>
|
||||||
" map <C-Down> :wincmd j<CR>
|
" map <C-Down> :wincmd j<CR>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user