mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2025-04-04 21:23:07 +00:00
Update Zellij config
This commit is contained in:
parent
49b6124728
commit
3b30ada5ce
1 changed files with 30 additions and 44 deletions
|
@ -1,81 +1,67 @@
|
|||
scroll_buffer_size 100000
|
||||
|
||||
// mouse_mode false
|
||||
|
||||
default_shell "/usr/bin/fish"
|
||||
scrollback_editor "hx"
|
||||
|
||||
theme "dracula"
|
||||
|
||||
default_shell "/var/home/mo8it/.cargo/bin/fish"
|
||||
default_layout "compact"
|
||||
on_force_close "quit"
|
||||
scroll_buffer_size 100000
|
||||
session_serialization false
|
||||
disable_session_metadata true
|
||||
show_startup_tips false
|
||||
|
||||
keybinds clear-defaults=true {
|
||||
normal {
|
||||
bind "Alt L" { SwitchToMode "locked"; }
|
||||
bind "Alt l" { SwitchToMode "locked"; }
|
||||
bind "Alt m" { SwitchToMode "move"; }
|
||||
bind "Alt p" { SwitchToMode "pane"; }
|
||||
bind "Alt r" { SwitchToMode "resize"; }
|
||||
bind "Alt s" { SwitchToMode "scroll"; }
|
||||
bind "Alt m" { SwitchToMode "move"; }
|
||||
bind "Alt d" { SwitchToMode "session"; }
|
||||
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 X" { CloseTab; }
|
||||
bind "Alt J" { ScrollDown; }
|
||||
bind "Alt +" { Resize "Increase"; }
|
||||
bind "Alt -" { Resize "Decrease"; }
|
||||
bind "Alt K" { ScrollUp; }
|
||||
bind "Alt L" { PageScrollDown; }
|
||||
bind "Alt J" { ScrollDown; }
|
||||
bind "Alt H" { PageScrollUp; }
|
||||
bind "Alt L" { PageScrollDown; }
|
||||
}
|
||||
locked {
|
||||
bind "Alt L" { SwitchToMode "normal"; }
|
||||
}
|
||||
shared_except "normal" "locked" {
|
||||
bind "Esc" { SwitchToMode "normal"; }
|
||||
bind "Alt l" { SwitchToMode "normal"; }
|
||||
}
|
||||
pane {
|
||||
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 "h" { MoveFocus "left"; }
|
||||
bind "j" { MoveFocus "down"; }
|
||||
bind "k" { MoveFocus "up"; }
|
||||
bind "l" { MoveFocus "right"; }
|
||||
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 "h" { Resize "Left"; }
|
||||
bind "j" { Resize "Down"; }
|
||||
bind "k" { Resize "Up"; }
|
||||
bind "l" { Resize "Right"; }
|
||||
bind "h" { Resize "Increase left"; }
|
||||
bind "j" { Resize "Increase down"; }
|
||||
bind "k" { Resize "Increase up"; }
|
||||
bind "l" { Resize "Increase right"; }
|
||||
}
|
||||
move {
|
||||
bind "h" { MovePane "Left"; }
|
||||
bind "j" { MovePane "Down"; }
|
||||
bind "k" { MovePane "Up"; }
|
||||
bind "l" { MovePane "Right"; }
|
||||
bind "h" { MovePane "left"; }
|
||||
bind "j" { MovePane "down"; }
|
||||
bind "k" { MovePane "up"; }
|
||||
bind "l" { MovePane "right"; }
|
||||
}
|
||||
scroll {
|
||||
bind "e" { EditScrollback; SwitchToMode "normal"; }
|
||||
bind "h" { PageScrollUp; }
|
||||
bind "j" { ScrollDown; }
|
||||
bind "k" { ScrollUp; }
|
||||
bind "l" { PageScrollDown; }
|
||||
bind "h" { PageScrollUp; }
|
||||
}
|
||||
session {
|
||||
bind "d" { Detach; }
|
||||
bind "m" {
|
||||
LaunchOrFocusPlugin "zellij:session-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Normal";
|
||||
}
|
||||
shared_except "normal" "locked" {
|
||||
bind "esc" { SwitchToMode "normal"; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue