Closed
Description
Description
remove_keymaps
option not working as expected, or maybe I'm just not setting it right. I want to disable "s" key on nvim tree as I use it to switch between panes. But after using remove_keymaps option and passing "s" to it, system_open still gets invoked.
Neovim version
NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3
Operating system and version
macOS 12.4
nvim-tree version
Minimal config
use {
'kyazdani42/nvim-tree.lua',
requires = {
'kyazdani42/nvim-web-devicons', -- optional, for file icon
},
config = function() require'nvim-tree'.setup {
remove_keymaps = {"s"}
} end
}
Steps to reproduce
I use the config mentioned above, and toggle nvim-tree and hit "s" on a file or directory.
Expected behavior
For the system_open command to not run. In fact, it'd be nice if nvim-tree just didn't listen for "s" at all as it's interfering with another part of my config.
Actual behavior
system_open
still runs.