From 8b6cffc5accd0ecfec31d7ced5df3fcff3b32087 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 5 Nov 2020 21:59:51 -0600 Subject: [PATCH] Need to cleanup vim config --- apps/neovim/.gitignore | 1 + apps/neovim/airline.vim | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 apps/neovim/airline.vim diff --git a/apps/neovim/.gitignore b/apps/neovim/.gitignore index df6ea30..e705a23 100644 --- a/apps/neovim/.gitignore +++ b/apps/neovim/.gitignore @@ -6,4 +6,5 @@ !/settings.vim !/bindings.vim !/plugins.vim +!/airline.vim !/commands.vim diff --git a/apps/neovim/airline.vim b/apps/neovim/airline.vim new file mode 100644 index 0000000..90f63db --- /dev/null +++ b/apps/neovim/airline.vim @@ -0,0 +1,28 @@ +let g:airline_powerline_fonts = 1 +let g:airline#extensions#tabline#enabled = 1 " automatically displays all buffers when there's only one tab open +let g:airline#extensions#tabline#fnamemod = ':t' + +let g:airline#extensions#tabline#left_sep = '' +let g:airline#extensions#tabline#left_alt_sep = '' +let g:airline_right_alt_sep = '' +let g:airline_right_sep = '' +let g:airline_left_alt_sep= '' +let g:airline_left_sep = '' +let g:airline#extensions#tabline#buffers_label = '' + +let g:airline_mode_map = { + \ '__' : '-', + \ 'n' : 'N', + \ 'i' : 'I', + \ 'R' : 'R', + \ 'T' : 'T', + \ 't' : 'T', + \ 'c' : 'C', + \ 'v' : 'V', + \ 'V' : 'V', + \ '' : 'V', + \ 's' : 'S', + \ 'S' : 'S', + \ '' : 'S', + \ } +