diff options
Diffstat (limited to '.config/nvim/lua/_gitsigns')
-rw-r--r-- | .config/nvim/lua/_gitsigns/init.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.config/nvim/lua/_gitsigns/init.lua b/.config/nvim/lua/_gitsigns/init.lua index b435be7..c19a5d0 100644 --- a/.config/nvim/lua/_gitsigns/init.lua +++ b/.config/nvim/lua/_gitsigns/init.lua @@ -13,18 +13,6 @@ require('gitsigns').setup { -- Default keymap options noremap = true, buffer = true, - - --[[ ['n ]c'] = { expr = true, "&diff ? ']c' : '<cmd>lua require\"gitsigns\".next_hunk()<CR>'"}, - ['n [c'] = { expr = true, "&diff ? '[c' : '<cmd>lua require\"gitsigns\".prev_hunk()<CR>'"}, - ['n <leader>hs'] = '<cmd>lua require"gitsigns".stage_hunk()<CR>', - ['n <leader>hu'] = '<cmd>lua require"gitsigns".undo_stage_hunk()<CR>', - ['n <leader>hr'] = '<cmd>lua require"gitsigns".reset_hunk()<CR>', - ['n <leader>hp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>', - ['n <leader>hb'] = '<cmd>lua require"gitsigns".blame_line()<CR>', ]] - - -- Text objects - --[[ ['o ih'] = ':<C-U>lua require"gitsigns".text_object()<CR>', - ['x ih'] = ':<C-U>lua require"gitsigns".text_object()<CR>' ]] }, watch_index = { interval = 1000 |