Skip to content

Way to change move cursor keymaps in filter mode #515

@s1n7ax

Description

@s1n7ax

At the moment there are hard coded keymaps defined to move cursor up and down while in filter mode.

filter.lua

input:map("i", "<down>", move_cursor_down, { noremap = true })
input:map("i", "<C-n>", move_cursor_down, { noremap = true })
input:map("i", "<up>", move_cursor_up, { noremap = true })
input:map("i", "<C-p>", move_cursor_up, { noremap = true })

I would love to have them configurable the same way

["<c-n>"] = "move_cursor_down",
["<c-e>"] = "move_cursor_up",
["<down>"] = "move_cursor_down",
["<up>"] = "move_cursor_up",

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions