Added custom keybind for neogit!
This commit is contained in:
parent
8594b5da11
commit
cc6a209d8d
|
@ -4,7 +4,6 @@ local M = {}
|
||||||
function M.setup()
|
function M.setup()
|
||||||
require('nvim-autopairs').setup()
|
require('nvim-autopairs').setup()
|
||||||
require "gitlinker".setup()
|
require "gitlinker".setup()
|
||||||
require('neogit').setup()
|
|
||||||
|
|
||||||
|
|
||||||
vscode.unless(function()
|
vscode.unless(function()
|
||||||
|
@ -21,8 +20,8 @@ function M.setup()
|
||||||
require("my.plugins.vimux").setup()
|
require("my.plugins.vimux").setup()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
require("my.plugins.vim-tmux-navigator").setup()
|
require("my.plugins.vim-tmux-navigator").setup()
|
||||||
|
require("my.plugins.neogit").setup()
|
||||||
require("my.plugins.comment").setup()
|
require("my.plugins.comment").setup()
|
||||||
require("my.plugins.telescope").setup()
|
require("my.plugins.telescope").setup()
|
||||||
|
|
||||||
|
|
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…
Reference in a new issue