Skip to content

Question: Is there a way to modify the default keybinding in normal.rs #172

@tiancaiamao

Description

@tiancaiamao

When I was using emacs, I used to bind <space> b with buffer related operations, like <space> b n = next-buffer
But in ad, <space> b is hard coded in normal.rs, so this prefix cannot be used any more.

So my question is, is there a way to unbind it without changing the code?

I have rebind C-f in ~/.ad/config.toml

"C-f" = { send_keys = "<page-down>" }
"C-b" = { send_keys = "<page-up>" }

and it would be nice if it allow me to

"<space> b p" = { run = "prev-buffer" }
"<space> b n" = { run = "next-buffer" }
"<space> b r" = { run = "reload-buffer" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions