diff --git a/lua/conf/git.lua b/lua/conf/git.lua index f32198f..639966f 100644 --- a/lua/conf/git.lua +++ b/lua/conf/git.lua @@ -1,8 +1 @@ -- Fugitive Configuration --- --- Fugitive bindings -vim.api.nvim_set_keymap('n', 'gs', ':Git', {noremap = true}) -vim.api.nvim_set_keymap('n', 'gd', ':Git diff', {noremap = true}) -vim.api.nvim_set_keymap('n', 'gb', ':Git blame', {noremap = true}) -vim.api.nvim_set_keymap('n', 'gc', ':Git commit', {noremap = true}) -vim.api.nvim_set_keymap('n', 'gp', ':Git push', {noremap = true}) diff --git a/lua/conf/keybinds.lua b/lua/conf/keybinds.lua index 91f0457..7744a69 100644 --- a/lua/conf/keybinds.lua +++ b/lua/conf/keybinds.lua @@ -69,3 +69,10 @@ vim.keymap.set('n', '', 'call vimspector#StepInto()') vim.keymap.set('n', "Db", ":call vimspector#ToggleBreakpoint()") vim.keymap.set('n', "Dw", ":call vimspector#AddWatch()") vim.keymap.set('n', "De", ":call vimspector#Evaluate()") + +-- Fugitive bindings +vim.api.nvim_set_keymap('n', 'gs', ':Git', {noremap = true}) +vim.api.nvim_set_keymap('n', 'gd', ':Git diff', {noremap = true}) +vim.api.nvim_set_keymap('n', 'gb', ':Git blame', {noremap = true}) +vim.api.nvim_set_keymap('n', 'gc', ':Git commit', {noremap = true}) +vim.api.nvim_set_keymap('n', 'gp', ':Git push', {noremap = true})