mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-18 15:25:47 +00:00
Add vim-fugitive plugin
This commit is contained in:
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…
Reference in New Issue
Block a user