Custom move up and down keymaps #55
|
Firstly, big fan of this plugin - thank you for the great work! Is there a way to configure keymaps to navigation up and down in the list? I use and in other plugins, would be nice if I could configure the same in |
Answered by
bassamsdata
Oct 15, 2025
Replies: 1 comment 1 reply
|
Thank you for the kind words @themastersheep , I appreciate it! You can configure any keymaps you want for the plugin. Here is an example: {
"bassamsdata/namu.nvim",
config = function()
require("namu").setup({
global = {
movement = {
next = { "<C-n>", "<C-j>", "<DOWN>" },
previous = { "<C-p>", "<C-k>", "<UP>" },
close = { "<Esc>" },
select = { "<CR>", "<C-i>" },
},
},
})
end,
}, |
1 reply
Answer selected by
themastersheep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the kind words @themastersheep , I appreciate it!
You can configure any keymaps you want for the plugin. Here is an example:
{ "bassamsdata/namu.nvim", config = function() require("namu").setup({ global = { movement = { next = { "<C-n>", "<C-j>", "<DOWN>" }, previous = { "<C-p>", "<C-k>", "<UP>" }, close = { "<Esc>" }, select = { "<CR>", "<C-i>" }, }, }, }) end, },