summaryrefslogtreecommitdiffstats
path: root/nvim/README.md
diff options
context:
space:
mode:
authorGeorge Angelopoulos <george@usermod.net>2023-08-22 07:17:15 +0300
committerGeorge Angelopoulos <george@usermod.net>2023-08-22 07:17:15 +0300
commitafbf692f4ecacff5a5a0735cc97ab4ee0c1e6ed5 (patch)
treed6958fe2aaabee4f63c51cbb3a38950d06e8baf4 /nvim/README.md
parent07fb13667a6e4e63a5ce5f426b1b0725bc40c058 (diff)
downloaddots-afbf692f4ecacff5a5a0735cc97ab4ee0c1e6ed5.tar.gz
Revert gitsigns keymaps but fix vimdiff and fugitive conflict
Originally, the keymaps for jumping to next and previous git hunks were ]c and [c. This was changed in #323 (0c35586) because they overwrote the built-in vimdiff keymaps. However, the more traditional solution is to have ]c and [c *extend* the built-in keymap. This is what fugitive and gitgutter have been doing for years. Gitsigns doesn't do this by itself, but it has a recommended keymap configuration on which the present patch is based: https://github.com/lewis6991/gitsigns.nvim#keymaps The only thing I've added is to have the keymaps work in visual mode as well, which is the same behavior as the built in vimdiff keymaps.
Diffstat (limited to 'nvim/README.md')
0 files changed, 0 insertions, 0 deletions