summaryrefslogtreecommitdiff
path: root/pkgs/vim/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-06-06 17:59:54 +0200
committerAdrian Kummerlaender2018-06-06 18:00:07 +0200
commitf3ccae8c3e3d9143e5dbeac195396e31e5900b4e (patch)
treeec3cc4060a272bbfde3ca6bd37697bac7b15337b /pkgs/vim/conf
parent672535fc61bd17be0a75a75fff5ed2f6245ab983 (diff)
downloadnixos_system-f3ccae8c3e3d9143e5dbeac195396e31e5900b4e.tar
nixos_system-f3ccae8c3e3d9143e5dbeac195396e31e5900b4e.tar.gz
nixos_system-f3ccae8c3e3d9143e5dbeac195396e31e5900b4e.tar.bz2
nixos_system-f3ccae8c3e3d9143e5dbeac195396e31e5900b4e.tar.lz
nixos_system-f3ccae8c3e3d9143e5dbeac195396e31e5900b4e.tar.xz
nixos_system-f3ccae8c3e3d9143e5dbeac195396e31e5900b4e.tar.zst
nixos_system-f3ccae8c3e3d9143e5dbeac195396e31e5900b4e.zip
Update Vim config
Diffstat (limited to 'pkgs/vim/conf')
-rw-r--r--pkgs/vim/conf/rc.vim12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/vim/conf/rc.vim b/pkgs/vim/conf/rc.vim
index 551c9a9..1ad8398 100644
--- a/pkgs/vim/conf/rc.vim
+++ b/pkgs/vim/conf/rc.vim
@@ -84,27 +84,23 @@ nnoremap <A-down> <C-W>j
set laststatus=2
let g:airline#extensions#tabline#enabled = 1
-let g:airline#extensions#tabline#show_buffers = 0
-let g:airline#extensions#tabline#show_tab_type = 0
+let g:airline#extensions#tabline#show_buffers = 1
+let g:airline#extensions#tabline#show_tab_type = 1
+let g:airline#extensions#tabline#fnamemod = ':t'
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
let g:airline#extensions#tabline#buffer_idx_mode = 0
-let g:airline#extensions#tabline#left_sep = ''
-let g:airline#extensions#tabline#left_alt_sep = ''
-let g:airline#extensions#tabline#right_sep = ''
-let g:airline#extensions#tabline#right_alt_sep = ''
let g:airline#extensions#tabline#show_close_button = 0
let g:airline#extensions#tabline#show_splits = 0
let g:airline#extensions#tabline#show_tab_nr = 0
let g:airline#extensions#whitespace#mixed_indent_algo = 2
-
let g:gitgutter_enabled = 0
let g:gitgutter_highlight_lines = 1
+
let g:goyo_width = 90
let g:goyo_margin_top = 1
let g:goyo_margin_bottom = 0
-nnoremap <F4> :call BufferList()<CR>
nnoremap <F5> :MundoToggle<CR>
nnoremap <F6> :GitGutterToggle<CR>
nnoremap <F7> :TagbarToggle<CR>