1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-27 01:01:05 +00:00
dotfiles/.config/zellij/config.kdl
2023-03-14 00:18:41 +01:00

64 lines
2.1 KiB
Text

scroll_buffer_size 10000
copy_on_select true
default_shell "/usr/bin/fish"
scrollback_editor "/home/mo/.cargo/bin/hx"
keybinds clear-defaults=true {
normal {
bind "Alt l" { NextSwapLayout; }
bind "Alt L" { SwitchToMode "locked"; }
bind "Alt p" { SwitchToMode "pane"; }
bind "Alt r" { SwitchToMode "resize"; }
bind "Alt s" { SwitchToMode "scroll"; }
bind "Alt m" { SwitchToMode "move"; }
bind "Alt n" { NewPane; }
bind "Alt k" { FocusNextPane; }
bind "Alt j" { FocusPreviousPane; }
bind "Alt +" { Resize "Increase"; }
bind "Alt -" { Resize "Decrease"; }
bind "Alt t" { NewTab; }
bind "Alt o" { GoToNextTab; }
bind "Alt i" { GoToPreviousTab; }
bind "Alt D" { Detach; }
}
locked {
bind "Alt L" { SwitchToMode "normal"; }
}
pane {
bind "Esc" { SwitchToMode "normal"; }
bind "h" { MoveFocus "Left"; }
bind "l" { MoveFocus "Right"; }
bind "j" { MoveFocus "Down"; }
bind "k" { MoveFocus "Up"; }
bind "d" { NewPane "Down"; SwitchToMode "normal"; }
bind "r" { NewPane "Right"; SwitchToMode "normal"; }
bind "x" { CloseFocus; SwitchToMode "normal"; }
bind "f" { ToggleFocusFullscreen; SwitchToMode "normal"; }
bind "w" { ToggleFloatingPanes; SwitchToMode "normal"; }
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "normal"; }
}
resize {
bind "Esc" { SwitchToMode "normal"; }
bind "h" { Resize "Left"; }
bind "j" { Resize "Down"; }
bind "k" { Resize "Up"; }
bind "l" { Resize "Right"; }
}
move {
bind "Esc" { SwitchToMode "normal"; }
bind "h" { MovePane "Left"; }
bind "j" { MovePane "Down"; }
bind "k" { MovePane "Up"; }
bind "l" { MovePane "Right"; }
}
scroll {
bind "Esc" { SwitchToMode "normal"; }
bind "e" { EditScrollback; SwitchToMode "normal"; }
bind "j" { ScrollDown; }
bind "k" { ScrollUp; }
bind "l" { PageScrollDown; }
bind "h" { PageScrollUp; }
}
}