summaryrefslogtreecommitdiffstats
path: root/lua/conf/binds.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2024-03-09 00:05:08 -0500
committerSquibid <me@zacharyscheiman.com>2024-03-09 00:05:08 -0500
commit0d03f886734929f69c81d38aa7553ea1118dc60c (patch)
treea38d1a62585edcd630c1d1df5b9d81bb2b268fde /lua/conf/binds.lua
parente8dbd24b6ff7bb0ac3bf8caae511ab2a6a615525 (diff)
downloadnvim-0d03f886734929f69c81d38aa7553ea1118dc60c.tar.gz
nvim-0d03f886734929f69c81d38aa7553ea1118dc60c.tar.bz2
nvim-0d03f886734929f69c81d38aa7553ea1118dc60c.zip
make gitsigns binds get defined when git attaches
Diffstat (limited to '')
-rw-r--r--lua/conf/binds.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/lua/conf/binds.lua b/lua/conf/binds.lua
index 0752a93..b06bd2f 100644
--- a/lua/conf/binds.lua
+++ b/lua/conf/binds.lua
@@ -133,13 +133,6 @@ if pcall(require, "smart-splits") then
map('n', '<leader>r', smartsplits.start_resize_mode)
end
--- git
-map('n', '<leader>gp', '<cmd>Gitsigns preview_hunk_inline<CR>')
-map('n', '<leader>gs', '<cmd>Gitsigns stage_hunk<CR>')
-map('n', '<leader>gb', '<cmd>Gitsigns blame_line<CR>')
-map('n', '<leader>g]', '<cmd>Gitsigns next_hunk<CR>')
-map('n', '<leader>g[', '<cmd>Gitsigns prev_hunk<CR>')
-
-- neogen
if pcall(require, "neogen") then
map('n', '<leader>df', require("neogen").generate, {