Add winfix maps, quote airline theme

This commit is contained in:
2019-10-27 22:05:25 +00:00
parent 6cf5388863
commit ffeb55dad2

11
vimrc
View File

@@ -77,9 +77,7 @@ set complete=.,b,u,]
set wildignore+=deps/*,node_modules/*,*.sw?
color desert
if has("AirlineTheme")
let g:airline_theme=papercolor
endif
let g:airline_theme="papercolor"
" enable syntax highlighting if it is supported
if has("syntax")
@@ -201,6 +199,13 @@ map <C-Down> :wincmd j<CR>
map <C-Left> :wincmd h<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-Down> :wincmd j<CR>