diff --git a/README.md b/README.md index aeb6a6b..b1996bd 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,6 @@ As an intermediate solution, I can just put the password in keepass... - More cool plugins :) - dropdown autocomplete - fzf in vim? telescope or something -- fix control+x in visual mode ## Long-term TODO diff --git a/roles/neovim/files/plugin/leap.lua b/roles/neovim/files/plugin/leap.lua index c0aeeef..6b7d6c4 100644 --- a/roles/neovim/files/plugin/leap.lua +++ b/roles/neovim/files/plugin/leap.lua @@ -1 +1,5 @@ require('leap').add_default_mappings() + +-- Don't remap 'x' in visual mode. +vim.keymap.del({'x', 'o'}, 'x') +vim.keymap.del({'x', 'o'}, 'X')