From 3e6dc904dfdd0bb6662f026de55ac1cfdffe2742 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 28 Jul 2024 10:21:44 -0300 Subject: Fix: split logic into separate plugins (2) --- vim.dot.link/plugin/ui.vim | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 vim.dot.link/plugin/ui.vim (limited to 'vim.dot.link/plugin/ui.vim') diff --git a/vim.dot.link/plugin/ui.vim b/vim.dot.link/plugin/ui.vim new file mode 100644 index 0000000..631d493 --- /dev/null +++ b/vim.dot.link/plugin/ui.vim @@ -0,0 +1,38 @@ +" ui.vim - UI customization +" +" Author: Silvio Rhatto + +" Status and tab lines +set laststatus=2 " Always display the statusline in all windows +set showtabline=2 " Always display the tabline, even if there is only one tab +set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline) + +" Powerline +"python from powerline.vim import setup as powerline_setup +"python powerline_setup() +"python del powerline_setup +" + +" Airline +if $WINDOWID != "" + let g:airline_powerline_fonts=1 + let g:airline#extensions#tabline#enabled=1 +else + let g:loaded_airline = 1 +endif + +" Color scheme +"colorscheme github +"colorscheme solarized +"colorscheme gentooish +"colorscheme revolutions +"colorscheme two2tango +"colorscheme vj +"colorscheme wood +"colorscheme zenburn +"colorscheme inkpot +if $WINDOWID != "" + colorscheme xoria256 +else + colorscheme zenburn +endif -- cgit v1.2.3