add redshift.conf, init.vim add tagbar plugin + buffer number on airline + scroll margins + terminal exit with jk

This commit is contained in:
arnaucube
2018-12-14 23:39:47 +01:00
parent d16876e701
commit d1c6c08ddf
4 changed files with 77 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ Plug 'airblade/vim-gitgutter'
Plug 'Raimondi/delimitMate'
Plug 'scrooloose/syntastic'
Plug 'scrooloose/nerdcommenter'
Plug 'majutsushi/tagbar'
" go
Plug 'fatih/vim-go' " Amazing combination of features.
@@ -94,6 +95,7 @@ let g:airline_theme='one'
let g:airline#extensions#syntastic#enabled = 1
let g:airline#extensions#branch#enabled = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#buffer_nr_show = 1
let g:airline#extensions#tagbar#enabled = 1
let g:airline_skip_empty_sections = 1
@@ -128,6 +130,10 @@ noremap <C-k> <C-w>k
noremap <C-l> <C-w>l
noremap <C-h> <C-w>h
" scroll
set scrolloff=5 " keep at least 5 lines above/below
set sidescrolloff=5 " keep at least 5 lines left/right
" syntastic
let g:syntastic_always_populate_loc_list=1
@@ -169,3 +175,4 @@ let g:go_highlight_extra_types = 1
"" esc mapping
inoremap jk <ESC>
tnoremap jk <C-\><C-n>