Skip to content

Config Question: normal mode prompt history navigation #1

Description

@l00sed

In the config options you have a cool example where you can configure normal mode shortcuts, like:

      {
        "keybinds": {
          "vim.normal": {
            "leader": "space",
            "session_list": "<leader>s",
            "messages_line_up": "<leader>k",
            "messages_line_down": "<leader>j"
          }
        }
      }

or

      {
        "normal_leader": "space",
        "normal_keybinds": {
          "<leader>s": "session.list",
          "j": "session.line.down",
          "k": "session.line.up"
        }
      }

Is there an API method where I could set k/j to move up/down through the prompt history? It'd be nice to hit k in normal mode to move back up through the prompts— like to rerun something that was interrupted. I saw messages_line_up/down, but I couldn't really see anything happening... I'm wondering if there's another option for the history nav though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions