Start fugitive custom keys

This commit is contained in:
Proctor
2022-10-03 11:26:16 -05:00
parent 267192615f
commit 6b95c42f3d
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
(module dotfiles.plugin.fugitive
{autoload {nvim aniseed.nvim
nu aniseed.nvim.util
core aniseed.core
util dotfiles.util
fugitive fugitive
}})
(nvim.ex.autocmd :FileType :fugitive :nmap :<leader>gp ":Git pull --rebase<CR>")
(nvim.ex.autocmd :FileType :fugitive :nmap :<leader>gP (.. ":Git push origin" (FugitiveHead)))

View File

@@ -62,7 +62,7 @@
:tpope/vim-classpath {} :tpope/vim-classpath {}
:tpope/vim-dadbod {} :tpope/vim-dadbod {}
:tpope/vim-dispatch {} ; Conjure support - jack-in with nrepl dependencies :tpope/vim-dispatch {} ; Conjure support - jack-in with nrepl dependencies
:tpope/vim-fugitive {} ; Git :tpope/vim-fugitive {:mod :fugitive} ; Git
:tpope/vim-git {} ; Git Commit Message :tpope/vim-git {} ; Git Commit Message
:tpope/vim-pathogen {} :tpope/vim-pathogen {}
:tpope/vim-rails {} :tpope/vim-rails {}