From 1d594670de21ccdbc67fec269535fd1baee47d10 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 13 Mar 2019 17:18:47 +0100 Subject: [PATCH] remove unneccessary vim colorschemes and set tmux statusline --- .config/nvim/init.vim | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 5548066..f242183 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -12,18 +12,29 @@ Plug 'stephpy/vim-yaml' " Design Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' +Plug 'edkolev/tmuxline.vim' " Colorschemes -Plug 'phanviet/vim-monokai-pro' Plug 'Nequo/vim-allomancer' -Plug 'nightsense/cosmic_latte' call plug#end() " PLUGIN CONFIGURATION -let g:airline_extensions = [] let g:airline_powerline_fonts=1 let g:airline_theme='raven' +let g:airline_extensions = ['keymap', 'netrw', 'po', 'quickfix', 'term', 'whitespace'] +colorscheme allomancer +" custom preset with left-justified window list +let g:tmuxline_preset = { + \'a' : '#S', + \'b' : '#(whoami)', + \'c' : '#I:#P', + \'win' : '#I #W', + \'cwin' : [' ', '#I #W'], + \'x' : '#{prefix_highlight} %H:%M:%S', + \'y' : '%d-%b-%y', + \'z' : '#H', + \'options' : {}} " VIM SETTINGS " set truecolor (neovim) @@ -56,6 +67,10 @@ set smartcase " whenever vim loses focus, save au FocusLost * :wa +" disables showing us the current mode in the command line since airline takes +" care of it +set noshowmode + " KEYBINDINGS " " set our leader key to space since with hjkl, space is largely useless