summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorLuiz Antonio Calliari Filho <luizcalliari.filho@protonmail.com>2023-03-12 20:45:26 -0300
committerLuiz Antonio Calliari Filho <luizcalliari.filho@protonmail.com>2023-03-12 20:45:26 -0300
commit986aa82cd63a104e0930c17f747518d6449ac11a (patch)
treedc93977f16ab54843e2dbb574521a9dbc2710209 /init.lua
parentc975e0346a8569390b16bf81910a96c714d425a9 (diff)
FIX: Updating command description.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index e3ddbd2..b4a7881 100644
--- a/init.lua
+++ b/init.lua
@@ -110,8 +110,8 @@ require('lazy').setup({
changedelete = { text = '~' },
},
on_attach = function(bufnr)
- vim.keymap.set('n', '[c', require('gitsigns').prev_hunk, { buffer = bufnr, desc = 'Go to [P]revious [H]unk' })
- vim.keymap.set('n', ']c', require('gitsigns').next_hunk, { buffer = bufnr, desc = 'Go to [N]ext [H]unk' })
+ vim.keymap.set('n', '[c', require('gitsigns').prev_hunk, { buffer = bufnr, desc = 'Go to Previous Hunk' })
+ vim.keymap.set('n', ']c', require('gitsigns').next_hunk, { buffer = bufnr, desc = 'Go to Next Hunk' })
vim.keymap.set('n', '<leader>ph', require('gitsigns').preview_hunk, { buffer = bufnr, desc = '[P]review [H]unk' })
end
},