chore(yazi): Add backspace
This commit is contained in:
parent
2c218306b9
commit
af31c8f5f0
2 changed files with 9 additions and 4 deletions
|
|
@ -156,7 +156,7 @@ in {
|
||||||
(mkSimpleBind ["Mod"] "7" "focusWorkspace" ["7"])
|
(mkSimpleBind ["Mod"] "7" "focusWorkspace" ["7"])
|
||||||
(mkSimpleBind ["Mod"] "8" "focusWorkspace" ["8"])
|
(mkSimpleBind ["Mod"] "8" "focusWorkspace" ["8"])
|
||||||
(mkSimpleBind ["Mod"] "9" "focusWorkspace" ["9"])
|
(mkSimpleBind ["Mod"] "9" "focusWorkspace" ["9"])
|
||||||
(mkSimpleBind ["Mod"] "0" "focusWorkspace" ["0"])
|
(mkSimpleBind ["Mod"] "0" "focusWorkspace" ["10"])
|
||||||
(mkSimpleBind ["Mod" "Shift"] "1" "moveToWorkspace" ["1"])
|
(mkSimpleBind ["Mod" "Shift"] "1" "moveToWorkspace" ["1"])
|
||||||
(mkSimpleBind ["Mod" "Shift"] "2" "moveToWorkspace" ["2"])
|
(mkSimpleBind ["Mod" "Shift"] "2" "moveToWorkspace" ["2"])
|
||||||
(mkSimpleBind ["Mod" "Shift"] "3" "moveToWorkspace" ["3"])
|
(mkSimpleBind ["Mod" "Shift"] "3" "moveToWorkspace" ["3"])
|
||||||
|
|
@ -166,7 +166,7 @@ in {
|
||||||
(mkSimpleBind ["Mod" "Shift"] "7" "moveToWorkspace" ["7"])
|
(mkSimpleBind ["Mod" "Shift"] "7" "moveToWorkspace" ["7"])
|
||||||
(mkSimpleBind ["Mod" "Shift"] "8" "moveToWorkspace" ["8"])
|
(mkSimpleBind ["Mod" "Shift"] "8" "moveToWorkspace" ["8"])
|
||||||
(mkSimpleBind ["Mod" "Shift"] "9" "moveToWorkspace" ["9"])
|
(mkSimpleBind ["Mod" "Shift"] "9" "moveToWorkspace" ["9"])
|
||||||
(mkSimpleBind ["Mod" "Shift"] "0" "moveToWorkspace" ["0"])
|
(mkSimpleBind ["Mod" "Shift"] "0" "moveToWorkspace" ["10"])
|
||||||
(mkSimpleBind ["Mod"] "B" "toggleFullscreen" [])
|
(mkSimpleBind ["Mod"] "B" "toggleFullscreen" [])
|
||||||
(mkSimpleBind ["Mod"] "V" "toggleFloating" [])
|
(mkSimpleBind ["Mod"] "V" "toggleFloating" [])
|
||||||
(mkSimpleBind ["Mod" "Shift"] "M" "quit" [])
|
(mkSimpleBind ["Mod" "Shift"] "M" "quit" [])
|
||||||
|
|
@ -366,7 +366,7 @@ in {
|
||||||
(mkSimpleCustomBind ["Mod" "Ctrl"] "7" "move-column-to-workspace" null ["7"])
|
(mkSimpleCustomBind ["Mod" "Ctrl"] "7" "move-column-to-workspace" null ["7"])
|
||||||
(mkSimpleCustomBind ["Mod" "Ctrl"] "8" "move-column-to-workspace" null ["8"])
|
(mkSimpleCustomBind ["Mod" "Ctrl"] "8" "move-column-to-workspace" null ["8"])
|
||||||
(mkSimpleCustomBind ["Mod" "Ctrl"] "9" "move-column-to-workspace" null ["9"])
|
(mkSimpleCustomBind ["Mod" "Ctrl"] "9" "move-column-to-workspace" null ["9"])
|
||||||
(mkSimpleCustomBind ["Mod" "Ctrl"] "0" "move-column-to-workspace" null ["0"])
|
(mkSimpleCustomBind ["Mod" "Ctrl"] "0" "move-column-to-workspace" null ["10"])
|
||||||
(mkSimpleCustomBind ["Mod" "Shift"] "J" "focus-monitor-left" null [])
|
(mkSimpleCustomBind ["Mod" "Shift"] "J" "focus-monitor-left" null [])
|
||||||
(mkSimpleCustomBind ["Mod" "Shift"] "semicolon" "focus-monitor-right" null [])
|
(mkSimpleCustomBind ["Mod" "Shift"] "semicolon" "focus-monitor-right" null [])
|
||||||
(mkSimpleCustomBind ["Mod" "Ctrl"] "J" "move-column-to-monitor-left" null [])
|
(mkSimpleCustomBind ["Mod" "Ctrl"] "J" "move-column-to-monitor-left" null [])
|
||||||
|
|
@ -425,7 +425,7 @@ in {
|
||||||
(mkSimpleCustomBind ["Mod" "SHIFT" "ALT"] "7" null "movetoworkspacesilent" ["7"])
|
(mkSimpleCustomBind ["Mod" "SHIFT" "ALT"] "7" null "movetoworkspacesilent" ["7"])
|
||||||
(mkSimpleCustomBind ["Mod" "SHIFT" "ALT"] "8" null "movetoworkspacesilent" ["8"])
|
(mkSimpleCustomBind ["Mod" "SHIFT" "ALT"] "8" null "movetoworkspacesilent" ["8"])
|
||||||
(mkSimpleCustomBind ["Mod" "SHIFT" "ALT"] "9" null "movetoworkspacesilent" ["9"])
|
(mkSimpleCustomBind ["Mod" "SHIFT" "ALT"] "9" null "movetoworkspacesilent" ["9"])
|
||||||
(mkSimpleCustomBind ["Mod" "SHIFT" "ALT"] "0" null "movetoworkspacesilent" ["0"])
|
(mkSimpleCustomBind ["Mod" "SHIFT" "ALT"] "0" null "movetoworkspacesilent" ["10"])
|
||||||
(mkRepeatCustomBind ["Mod"] "U" null "resizeactive" ["-20" "0"])
|
(mkRepeatCustomBind ["Mod"] "U" null "resizeactive" ["-20" "0"])
|
||||||
(mkRepeatCustomBind ["Mod"] "P" null "resizeactive" ["20" "0"])
|
(mkRepeatCustomBind ["Mod"] "P" null "resizeactive" ["20" "0"])
|
||||||
(mkRepeatCustomBind ["Mod"] "O" null "resizeactive" ["0" "-20"])
|
(mkRepeatCustomBind ["Mod"] "O" null "resizeactive" ["0" "-20"])
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,11 @@
|
||||||
};
|
};
|
||||||
keymap = {
|
keymap = {
|
||||||
mgr.keymap = [
|
mgr.keymap = [
|
||||||
|
{
|
||||||
|
on = "<Backspace>";
|
||||||
|
run = "backspace";
|
||||||
|
desc = "Delete the character before the cursor";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
on = ["<Esc>"];
|
on = ["<Esc>"];
|
||||||
run = "escape";
|
run = "escape";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue