let g:gin_proxy_apply_without_confirm = 1 " nnoremap ,gs :GinStatus " nnoremap ,gl :GinLog " nnoremap ,gc :Gin commit " nnoremap ,gp :Gin push " nnoremap ,gb :GinBranch nnoremap ,gd :GinDiff ++processor=delta\ --no-gitconfig\ --color-only autocmd FileType gin-diff,gin-log,gin-status call s:SetGinKeymaps() function! s:SetGinKeymaps() nnoremap c :Gin commit nnoremap s :GinStatus nnoremap L :GinLog --graph --oneline nnoremap d :GinDiff --cached " ウインドウを閉じないように設定 nnoremap q :Sayonara nnoremap p :lua vim.notify("Gin push"):Gin push nnoremap P :lua vim.notify("Gin pull"):Gin pull endfunction autocmd FileType gin-status call s:SetGinStatusKeymaps() function! s:SetGinStatusKeymaps() nnoremap h (gin-action-stage) nnoremap l (gin-action-unstage) endfunction