commit
17b5336254
@ -153,3 +153,9 @@ vim.cmd("silent! command PackerInstall lua require 'pluginList' require('packer'
|
||||
vim.cmd("silent! command PackerStatus lua require 'pluginList' require('packer').status()")
|
||||
vim.cmd("silent! command PackerSync lua require 'pluginList' require('packer').sync()")
|
||||
vim.cmd("silent! command PackerUpdate lua require 'pluginList' require('packer').update()")
|
||||
|
||||
-- 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