diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-28 10:21:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-28 10:21:44 -0300 |
commit | 3e6dc904dfdd0bb6662f026de55ac1cfdffe2742 (patch) | |
tree | 13a3e90f2e9935cac182b7f8ca7ba00e656df222 /vim.dot.link/plugin/ui.vim | |
parent | 6bb7f7134e76b8bfc16eff0ba930913c4c46b490 (diff) | |
download | vim-3e6dc904dfdd0bb6662f026de55ac1cfdffe2742.tar.gz vim-3e6dc904dfdd0bb6662f026de55ac1cfdffe2742.tar.bz2 |
Fix: split logic into separate plugins (2)
Diffstat (limited to 'vim.dot.link/plugin/ui.vim')
-rw-r--r-- | vim.dot.link/plugin/ui.vim | 38 |
1 files changed, 38 insertions, 0 deletions
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 <rhatto@riseup.net> + +" 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 |