1
Fork 0

Added custom keybind for neogit!

This commit is contained in:
Matei Adriel 2022-08-24 14:21:21 +03:00
parent 8594b5da11
commit cc6a209d8d
2 changed files with 12 additions and 2 deletions

View file

@ -4,7 +4,6 @@ local M = {}
function M.setup()
require('nvim-autopairs').setup()
require "gitlinker".setup()
require('neogit').setup()
vscode.unless(function()
@ -21,8 +20,8 @@ function M.setup()
require("my.plugins.vimux").setup()
end)
require("my.plugins.vim-tmux-navigator").setup()
require("my.plugins.neogit").setup()
require("my.plugins.comment").setup()
require("my.plugins.telescope").setup()

View 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