vim-fastline

A custom lean vim statusline.
git clone https://git.sr.ht/~jbauer/vim-fastline
Log | Files | Refs | README | LICENSE

commit cdfaeca222a37879fb3a71c1aec0eeae68bc6d37
parent 4179f47f6a11de1e31debaa7dc8e44f3573012b6
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue,  2 Jun 2020 20:29:09 -0400

Remove git integration

Diffstat:
Mplugin/statusline.vim | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/plugin/statusline.vim b/plugin/statusline.vim @@ -37,15 +37,6 @@ function! CurrentMode() abort return l:current_status_mode endfunction -" Get current git branch, git plugin like vim-fugitive required -function! GitBranch(git) - if a:git == '' - return '[-]' - else - return '['.a:git.']' - endif -endfunction - function! CheckModified(modi) if a:modi == 1 hi Modi guifg=#efefef guibg=#212333 gui=bold @@ -87,7 +78,6 @@ function! StatusLine() let statusline = "" let statusline .= "%#Base#" let statusline .= "%#Mode# %{CurrentMode()}" - let statusline .= "%#Git# %{GitBranch(fugitive#head())} " let statusline .= "%#Warn#%( %{CheckRO(&readonly)}%w%)" let statusline .= "%#Modi# %{CheckModified(&modified)}" let statusline .= "%#Base#"