Add vim-fugitive plugin

navigator
Tavo Annus 3 years ago
parent e01aafeea5
commit 472278f2e3

@ -146,3 +146,9 @@ map("n", "<Esc>", ":noh<CR>", opt)
-- get out of terminal with jk
map("t", "jk", "<C-\\><C-n>", opt)
-- Vim Fugitive
map("n", "<Leader>gs", ":Git<CR>", opt)
map("n", "<Leader>gh", ":diffget //2<CR>", opt)
map("n", "<Leader>gl", ":diffget //3<CR>", opt)
map("n", "<Leader>gb", ":Git blame<CR>", opt)

@ -243,5 +243,12 @@ return packer.startup(
require("plugins.others").blankline()
end
}
use {
"tpope/vim-fugitive",
cmd = {
"Git"
}
}
end
)

Loading…
Cancel
Save