commit 8e870a1b0cb0e3bdb7ef9cee71929699ac8c8f6a
parent 55eba03612f40b9f67972d11460b28d5d94a61f1
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 4 Dec 2018 12:23:48 +0100
Added vim fugitive plugin
Very nice git wrapper for vim
Diffstat:
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/vim/general.vimrc b/vim/general.vimrc
@@ -59,6 +59,9 @@ set mousemodel=popup
set laststatus=2 " Always show status bar
set statusline=\ %F " Full path
set statusline+=\ %m%r%w " Flags (modified, readonly, help, preview)
+if exists('g:loaded_fugitive')
+ set statusline+=\ %{FugitiveStatusline()}
+endif
set statusline+=\ \ CWD:\ %r%{getcwd()}%h " Current working directory
set statusline+=%= " Left/right separator
set statusline+=\ %y " File type
diff --git a/vim/plugins.vimrc b/vim/plugins.vimrc
@@ -39,12 +39,16 @@ Plug 'arithran/vim-delete-hidden-buffers'
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
+" Tagbar
+Plug 'majutsushi/tagbar'
" Personal wiki
Plug 'vimwiki/vimwiki'
+" Git wrapper from tpope
+Plug 'tpope/vim-fugitive'
+
" Easy table making (unnecessary because vimwiki has this built in)
" Plug 'dhruvasagar/vim-table-mode'
-Plug 'majutsushi/tagbar'
call plug#end()