Skip to content

Commit

Permalink
feat(keymappings): move which-key lazygit keymaps to plugin itself
Browse files Browse the repository at this point in the history
  • Loading branch information
ecosse3 committed Aug 1, 2023
1 parent 8f71912 commit eeabba7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lua/config/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,9 @@ return {
"LazyGitFilterCurrentFile",
"LazyGitFilter",
},
keys = {
{ "<Leader>gg", "<cmd>LazyGit<CR>", desc = "lazygit" },
},
config = function()
vim.g.lazygit_floating_window_scaling_factor = 1
end,
Expand Down
1 change: 0 additions & 1 deletion lua/plugins/which-key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ local normal_mode_mappings = {
c = {
name = 'Conflict',
},
g = { '<cmd>LazyGit<CR>', 'lazygit' },
h = {
name = 'Hunk',
d = 'diff hunk',
Expand Down

0 comments on commit eeabba7

Please sign in to comment.