Skip to content

How to remap up and down? #1356

Answered by pysan3
akhansari asked this question in Q&A
Feb 16, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

The right hand side should point to a name of one of the functions listed here: https://github.com/nvim-neo-tree/neo-tree.nvim/blob/main/lua/neo-tree/sources/common/commands.lua, such as "toggle_node".

That config option does not handle vim's :nmap functionality.

Instead, I believe that you have that keybind set globally (due to a different keyboard layout?).

If that's the case, you can disable default keybinds with

["p"] = "noop"

to not assign any specific keybind in the neo-tree window.

Does this achieve what you want?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@akhansari
Comment options

Answer selected by akhansari
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