mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-13 04:21:08 +01:00
yazi: update keymap config
This commit is contained in:
parent
441fae847d
commit
7f78e2d1c6
3 changed files with 32 additions and 32 deletions
|
|
@ -77,16 +77,16 @@ in {
|
|||
default = { };
|
||||
example = literalExpression ''
|
||||
{
|
||||
input.keymap = [
|
||||
{ exec = "close"; on = [ "<C-q>" ]; }
|
||||
{ exec = "close --submit"; on = [ "<Enter>" ]; }
|
||||
{ exec = "escape"; on = [ "<Esc>" ]; }
|
||||
{ exec = "backspace"; on = [ "<Backspace>" ]; }
|
||||
input.prepend_keymap = [
|
||||
{ run = "close"; on = [ "<C-q>" ]; }
|
||||
{ run = "close --submit"; on = [ "<Enter>" ]; }
|
||||
{ run = "escape"; on = [ "<Esc>" ]; }
|
||||
{ run = "backspace"; on = [ "<Backspace>" ]; }
|
||||
];
|
||||
manager.keymap = [
|
||||
{ exec = "escape"; on = [ "<Esc>" ]; }
|
||||
{ exec = "quit"; on = [ "q" ]; }
|
||||
{ exec = "close"; on = [ "<C-q>" ]; }
|
||||
manager.prepend_keymap = [
|
||||
{ run = "escape"; on = [ "<Esc>" ]; }
|
||||
{ run = "quit"; on = [ "q" ]; }
|
||||
{ run = "close"; on = [ "<C-q>" ]; }
|
||||
];
|
||||
}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue