Added custom keybind for neogit!
This commit is contained in:
parent
8594b5da11
commit
cc6a209d8d
2 changed files with 12 additions and 2 deletions
dotfiles/neovim/lua/my/plugins
11
dotfiles/neovim/lua/my/plugins/neogit.lua
Normal file
11
dotfiles/neovim/lua/my/plugins/neogit.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
local neogit = require("neogit")
|
||||
|
||||
neogit.setup()
|
||||
|
||||
vim.keymap.set("n", "<C-g>", neogit.open)
|
||||
end
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue