nvim: add neogit
parent
ec1c36ac61
commit
7da9729889
|
@ -37,6 +37,9 @@ endif
|
|||
|
||||
call plug#begin(stdpath('data') . '/plugged')
|
||||
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'TimUntersberger/neogit'
|
||||
|
||||
Plug 'tpope/vim-fugitive'
|
||||
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
|
@ -45,5 +48,15 @@ Plug 'wakatime/vim-wakatime'
|
|||
|
||||
call plug#end()
|
||||
|
||||
lua <<EOF
|
||||
local neogit = require('neogit')
|
||||
neogit.setup {
|
||||
disable_commit_confirmation = true,
|
||||
disable_insert_on_commit = true
|
||||
}
|
||||
neogit.config.use_magit_keybindings()
|
||||
EOF
|
||||
:nmap <C-x>g :Neogit<CR>
|
||||
|
||||
" no ex mode
|
||||
nnoremap Q <Nop>
|
||||
|
|
Loading…
Reference in New Issue