added vim-fugitive for git commands from nvim, and shows git branch in lightline plugin

This commit is contained in:
tomit4 2021-11-27 08:41:45 -08:00
parent c8922d3133
commit 91205d2d41

View file

@ -98,7 +98,7 @@ nmap <silent> <c-l> :wincmd l<CR>
set noshowmode
" Set lightline colorscheme
let g:lightline = {'colorscheme': 'one'}
let g:lightline = {'colorscheme': 'one', 'active': { 'left': [['mode', 'paste'], ['gitbranch', 'readonly', 'filename', 'modified']]}, 'component_function': {'gitbranch': 'FugitiveHead'}}
" Custom keybindings