summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNao Ueda <nao.uedder@gmail.com>2020-02-17 09:07:14 +0900
committerNao Ueda <nao.uedder@gmail.com>2020-02-17 09:07:14 +0900
commit28d7d926771ff80b24d659955ee9a59d8d9c2e8b (patch)
tree3358aac6bbcb6d3deccbabfd3309d989efb6ea04
parentce94cf11d456d6ba84460565e7ce192759cbadba (diff)
downloadvimrc-28d7d926771ff80b24d659955ee9a59d8d9c2e8b.tar.gz
vimrc-28d7d926771ff80b24d659955ee9a59d8d9c2e8b.tar.bz2
vimrc-28d7d926771ff80b24d659955ee9a59d8d9c2e8b.zip
Change pulugin for git from fugitive to gina.
-rw-r--r--_config/101-lightline.vim2
-rw-r--r--vimrc8
2 files changed, 6 insertions, 4 deletions
diff --git a/_config/101-lightline.vim b/_config/101-lightline.vim
index 9df4d30..e8c2514 100644
--- a/_config/101-lightline.vim
+++ b/_config/101-lightline.vim
@@ -19,7 +19,7 @@ let g:lightline = {
\ 'linter_errors': 'error'
\ },
\ 'component_function': {
-\ 'gitbranch': 'fugitive#head'
+\ 'gitbranch': 'gina#component#repo#branch'
\ },
\ }
diff --git a/vimrc b/vimrc
index 7dde8cc..390f21b 100644
--- a/vimrc
+++ b/vimrc
@@ -130,10 +130,12 @@ Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-eunuch'
" for git
-Plug 'tpope/vim-fugitive'
-Plug 'tpope/vim-rhubarb'
+" Plug 'tpope/vim-fugitive'
+" Plug 'tpope/vim-rhubarb'
Plug 'airblade/vim-gitgutter'
-Plug 'tommcdo/vim-fubitive'
+" Plug 'tommcdo/vim-fubitive'
+Plug 'lambdalisue/gina.vim'
+
"git clone https://github.com/junegunn/fzf.git ~/.fzf && ~/.fzf/install
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'