Commit Diff


commit - 926b0d95b83f79c8520a8aa7736f70d7e7aaf302
commit + 9474a7d3e3947c6cde2fde8a76926024de4287a3
blob - 3477ad3eac3f532c14b95f0a0b1d874b37a1eaf4
blob + 2dc964bbda3cb36ba407e012b9e7ad2a0d52270f
--- lua/config/keymaps.lua
+++ lua/config/keymaps.lua
@@ -154,15 +154,9 @@ vim.api.nvim_create_autocmd('BufEnter', {
             gitsigns.reset_hunk({ vim.fn.line('.'), vim.fn.line('v') })
         end, 'git reset hunk', 'v')
 
-        gs_map('<leader>hs', gitsigns.stage_hunk, 'git rtage hunk')
-        gs_map('<leader>hr', gitsigns.reset_hunk, 'git reset hunk')
-        gs_map('<leader>hS', gitsigns.stage_buffer, 'git stage buffer')
-        gs_map('<leader>hu', gitsigns.undo_stage_hunk, 'git undo stage hunk')
-        gs_map('<leader>hR', gitsigns.reset_buffer, 'git reset buffer')
-        gs_map('<leader>hp', gitsigns.preview_hunk, 'git preview hunk')
-        gs_map('<leader>hb', gitsigns.blame_line, 'git blame line')
-        gs_map('<leader>hd', gitsigns.diffthis, 'git diff against index')
-        gs_map('<leader>hD', function()
+        gs_map('<leader>gb', gitsigns.blame_line, 'git blame line')
+        gs_map('<leader>gd', gitsigns.diffthis, 'git diff against index')
+        gs_map('<leader>gD', function()
             gitsigns.diffthis('@')
         end, 'git diff against last commit')
 
blob - f00b780e2e4a688a10213b68c19152355e4497ba
blob + 87e3069f119148666208ef3918f258d8966ea823
--- lua/plugins/conform.lua
+++ lua/plugins/conform.lua
@@ -6,6 +6,7 @@ return {
             notify_on_error = true,
             formatters_by_ft = {
                 lua = { 'stylua' },
+                go = { 'gofmt' },
                 typescript = { 'prettier' },
                 javascript = { 'prettier' },
             },