My vim configuration
git clone https://mcol.xyz/code/vim-misc
Log | Files | Refs | README

commit 52ab3ee2e324798016813b44ca7601720289016b
parent 7f5802275dd7d9ed71dbe0f048f9bee642db7efc
Author: mcol <mcol@posteo.net>
Date:   Wed, 20 Feb 2019 19:17:59 +0000

make background dark for functional transparency. Add tmux indicator to statusbar

Diffstat:
Mplugin/theme.vim | 7+++++--
Mvimrc | 22+++++++++++-----------
2 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/plugin/theme.vim b/plugin/theme.vim @@ -5,18 +5,21 @@ " statusline set laststatus=2 " always show status bar set statusline = +if ! empty($TMUX) + set statusline +=%6*%* +endif set statusline +=%1*\ \ %<%F\ \ %* " full path set statusline +=%2*\ \ %y%* " file type set statusline +=%2*\ %m\ %* " modified flag set statusline +=%3*%=%* " centre padding set statusline +=%4*\ \ %l\ /\ %L\ \ %* " current / total lines -set statusline +=%5*\ %n\ %* " buffer number - +set statusline +=%5*\ %n\ %* " buffer number hi User1 ctermfg=0 ctermbg=5 cterm=none hi User2 ctermfg=0 ctermbg=4 cterm=none hi User3 ctermfg=0 ctermbg=14 cterm=none hi User4 ctermfg=0 ctermbg=2 cterm=none hi User5 ctermfg=0 ctermbg=3 cterm=none +hi User6 ctermfg=3 ctermbg=5 cterm=none " tab bar hi TabLineFill ctermfg=0 ctermbg=1 diff --git a/vimrc b/vimrc @@ -13,23 +13,23 @@ " Plugins " "------------------------------------------------------------------" -set nocompatible " be iMproved, required -filetype off " required -set rtp+=~/.vim/bundle/Vundle.vim " required +set nocompatible " be iMproved, required +filetype off " required +set rtp+=~/.vim/bundle/Vundle.vim " required call vundle#begin() -Plugin 'VundleVim/Vundle.vim' " required +Plugin 'VundleVim/Vundle.vim' " required if hostname() == "zenbook" - Plugin 'mcolligan/vimlab' " vimlab - Plugin 'vimwiki/vimwiki' " vimwiki + Plugin 'mcolligan/vimlab' " vimlab + Plugin 'vimwiki/vimwiki' " vimwiki endif Plugin 'junegunn/goyo.vim' -Plugin 'mcolligan/vim-misc' " my vimrc and misc functions -Plugin 'mcolligan/tide' " tmux ide +Plugin 'mcolligan/vim-misc' " my vimrc and misc functions +Plugin 'mcolligan/tide' " tmux ide Plugin 'christoomey/vim-tmux-navigator' " navigate vim and tmux splits seamlessly -call vundle#end() " required -filetype plugin indent on " required +call vundle#end() " required +filetype plugin indent on " required " Brief help " :PluginList - lists configured plugins @@ -88,7 +88,7 @@ set wildmode=full:list " format wildmenu to expand and scroll with tab set autochdir " cwd to current file - +set background=dark " needed in case urxvt background colour is transparent "------------------------------------------------------------------" " Misc "