Skip to content

Way to unbind a keymap in neo-tree window? #1242

Answered by bew
xcyu-stripe asked this question in Q&A
Discussion options

You must be logged in to vote

Yes

If you want to remove one or more particular default mappings, you can map
the sequence to `none` or `noop`. For example, if you don’t wish to use
fuzzy finder (default mapping `/`), but instead rely on Neovim’s built-in
search functionality, you can do that like so this:
>lua
require("neo-tree").setup({
filesystem = {
window = {
mappings = {
-- disable fuzzy finder
["/"] = "noop"
}
}
}
})
<

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by miversen33
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants