yazi: change yazi exec
to be run
yazi previously used "exec" for binds, and now it uses run.
This commit is contained in:
parent
afd2021bed
commit
547680530f
|
@ -70,15 +70,15 @@ in {
|
|||
example = literalExpression ''
|
||||
{
|
||||
input.keymap = [
|
||||
{ exec = "close"; on = [ "<C-q>" ]; }
|
||||
{ exec = "close --submit"; on = [ "<Enter>" ]; }
|
||||
{ exec = "escape"; on = [ "<Esc>" ]; }
|
||||
{ exec = "backspace"; on = [ "<Backspace>" ]; }
|
||||
{ on = [ "<C-q>" ]; run = "close"; }
|
||||
{ on = [ "<Enter>" ]; run = "close --submit"; }
|
||||
{ on = [ "<Esc>" ]; run = "escape"; }
|
||||
{ on = [ "<Backspace>" ]; run = "backspace"; }
|
||||
];
|
||||
manager.keymap = [
|
||||
{ exec = "escape"; on = [ "<Esc>" ]; }
|
||||
{ exec = "quit"; on = [ "q" ]; }
|
||||
{ exec = "close"; on = [ "<C-q>" ]; }
|
||||
{ on = [ "<Esc>" ]; run = "escape"; }
|
||||
{ on = [ "q" ]; run = "quit"; }
|
||||
{ on = [ "<C-q>" ]; run = "close"; }
|
||||
];
|
||||
}
|
||||
'';
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
[[input.keymap]]
|
||||
exec = "close"
|
||||
on = ["<C-q>"]
|
||||
run = "close"
|
||||
|
||||
[[input.keymap]]
|
||||
exec = "close --submit"
|
||||
on = ["<Enter>"]
|
||||
run = "close --submit"
|
||||
|
||||
[[input.keymap]]
|
||||
exec = "escape"
|
||||
on = ["<Esc>"]
|
||||
run = "escape"
|
||||
|
||||
[[input.keymap]]
|
||||
exec = "backspace"
|
||||
on = ["<Backspace>"]
|
||||
run = "backspace"
|
||||
|
||||
[[manager.keymap]]
|
||||
exec = "escape"
|
||||
on = ["<Esc>"]
|
||||
run = "escape"
|
||||
|
||||
[[manager.keymap]]
|
||||
exec = "quit"
|
||||
on = ["q"]
|
||||
run = "quit"
|
||||
|
||||
[[manager.keymap]]
|
||||
exec = "close"
|
||||
on = ["<C-q>"]
|
||||
run = "close"
|
||||
|
|
|
@ -7,34 +7,34 @@
|
|||
keymap = {
|
||||
input.keymap = [
|
||||
{
|
||||
exec = "close";
|
||||
on = [ "<C-q>" ];
|
||||
run = "close";
|
||||
}
|
||||
{
|
||||
exec = "close --submit";
|
||||
on = [ "<Enter>" ];
|
||||
run = "close --submit";
|
||||
}
|
||||
{
|
||||
exec = "escape";
|
||||
on = [ "<Esc>" ];
|
||||
run = "escape";
|
||||
}
|
||||
{
|
||||
exec = "backspace";
|
||||
on = [ "<Backspace>" ];
|
||||
run = "backspace";
|
||||
}
|
||||
];
|
||||
manager.keymap = [
|
||||
{
|
||||
exec = "escape";
|
||||
on = [ "<Esc>" ];
|
||||
run = "escape";
|
||||
}
|
||||
{
|
||||
exec = "quit";
|
||||
on = [ "q" ];
|
||||
run = "quit";
|
||||
}
|
||||
{
|
||||
exec = "close";
|
||||
on = [ "<C-q>" ];
|
||||
run = "close";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue