diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-03-18 22:19:57 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-03-18 22:19:57 +0100 |
commit | e6fed655e18343e6e399e8198346466effe8c3a8 (patch) | |
tree | cdae8ac05aa014a4970f3bdf656cb297527780e5 /.config/nvim/lua/_gitsigns | |
parent | 55517dded759e1dd4381792985a6d7fb88df8a1e (diff) |
Fix nvim lua scripts
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 |