mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
blink: add keybinds for cmdline
This commit is contained in:
parent
316aeeae4e
commit
195d39cef7
1 changed files with 15 additions and 0 deletions
|
@ -122,6 +122,21 @@ in {
|
||||||
"fallback"
|
"fallback"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# cmdline is not enabled by default, we're just providing keymaps in
|
||||||
|
# case the user enables them
|
||||||
|
cmdline.keymap = {
|
||||||
|
${mappings.complete} = ["show" "fallback"];
|
||||||
|
${mappings.close} = ["hide" "fallback"];
|
||||||
|
${mappings.scrollDocsUp} = ["scroll_documentation_up" "fallback"];
|
||||||
|
${mappings.scrollDocsDown} = ["scroll_documentation_down" "fallback"];
|
||||||
|
# NOTE: mappings.confirm is skipped because our default, <CR> would
|
||||||
|
# lead to accidental triggers of blink.accept instead of executing
|
||||||
|
# the cmd
|
||||||
|
|
||||||
|
${mappings.next} = ["select_next" "show" "fallback"];
|
||||||
|
${mappings.previous} = ["select_prev" "fallback"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue