mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
173 lines
4.7 KiB
Text
173 lines
4.7 KiB
Text
// If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true"
|
|
keybinds clear-defaults=true {
|
|
resize {
|
|
bind "h" "Left" { Resize "Left"; }
|
|
bind "l" "Right" { Resize "Right"; }
|
|
bind "k" "Up" { Resize "Up"; }
|
|
bind "j" "Down" { Resize "Down"; }
|
|
}
|
|
|
|
tmux {
|
|
bind "r" { SwitchToMode "Resize"; }
|
|
|
|
bind "t" { NewTab; SwitchToMode "Normal"; }
|
|
bind "c" { NewPane; SwitchToMode "Normal"; }
|
|
bind "v" { NewPane "Down"; SwitchToMode "Normal"; }
|
|
|
|
bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
|
|
|
bind "h" { GoToPreviousTab; SwitchToMode "Normal"; }
|
|
bind "l" { GoToNextTab; SwitchToMode "Normal"; }
|
|
|
|
bind "Ctrl h" { GoToPreviousTab; }
|
|
bind "Ctrl l" { GoToNextTab; }
|
|
|
|
bind "j" { FocusPreviousPane; SwitchToMode "Normal"; }
|
|
bind "k" { FocusNextPane; SwitchToMode "Normal"; }
|
|
|
|
bind "Left" { MoveFocus "Left"; }
|
|
bind "Right" { MoveFocus "Right"; }
|
|
bind "Up" { MoveFocus "Up"; }
|
|
bind "Down" { MoveFocus "Down"; }
|
|
|
|
bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
|
bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
|
|
|
bind "," { SwitchToMode "RenameTab"; }
|
|
|
|
bind "[" { SwitchToMode "Scroll"; }
|
|
bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
|
|
bind "Space" { NextSwapLayout; }
|
|
|
|
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
|
}
|
|
|
|
shared_except "normal" "locked" {
|
|
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
|
}
|
|
shared_except "tmux" "locked" {
|
|
bind "Ctrl b" { SwitchToMode "Tmux"; }
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
tab-bar { path "tab-bar"; }
|
|
// status-bar { path "status-bar"; }
|
|
strider { path "strider"; }
|
|
compact-bar { path "compact-bar"; }
|
|
session-manager { path "session-manager"; }
|
|
}
|
|
|
|
// on_force_close "quit" // or "detach"
|
|
simplified_ui true
|
|
|
|
// Choose the path to override cwd that zellij will use for opening new panes
|
|
//
|
|
// default_cwd ""
|
|
|
|
pane_frames false
|
|
|
|
auto_layout true
|
|
|
|
scrollback_lines_to_serialize 100000
|
|
|
|
// Define color themes for Zellij
|
|
// For more examples, see: https://github.com/zellij-org/zellij/tree/main/example/themes
|
|
// Once these themes are defined, one of them should to be selected in the "theme" section of this file
|
|
//
|
|
// themes {
|
|
// dracula {
|
|
// fg 248 248 242
|
|
// bg 40 42 54
|
|
// red 255 85 85
|
|
// green 80 250 123
|
|
// yellow 241 250 140
|
|
// blue 98 114 164
|
|
// magenta 255 121 198
|
|
// orange 255 184 108
|
|
// cyan 139 233 253
|
|
// black 0 0 0
|
|
// white 255 255 255
|
|
// }
|
|
// }
|
|
|
|
themes {
|
|
gruvbox-dark {
|
|
fg "#D5C4A1"
|
|
bg "#282828"
|
|
black "#3C3836"
|
|
red "#CC241D"
|
|
green "#98971A"
|
|
yellow "#D79921"
|
|
blue "#3C8588"
|
|
magenta "#B16286"
|
|
cyan "#689D6A"
|
|
white "#FBF1C7"
|
|
orange "#D65D0E"
|
|
}
|
|
}
|
|
|
|
|
|
theme "gruvbox-dark"
|
|
|
|
// The name of the default layout to load on startup
|
|
// Default: "default"
|
|
//
|
|
// default_layout "compact"
|
|
|
|
// Choose the mode that zellij uses when starting up.
|
|
// Default: normal
|
|
//
|
|
// default_mode "locked"
|
|
|
|
scroll_buffer_size 100000
|
|
|
|
// Provide a command to execute when copying text. The text will be piped to
|
|
// the stdin of the program to perform the copy. This can be used with
|
|
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
|
// that will be used by default if this option is not set.
|
|
// Examples:
|
|
//
|
|
// copy_command "xclip -selection clipboard" // x11
|
|
// copy_command "wl-copy" // wayland
|
|
// copy_command "pbcopy" // osx
|
|
|
|
// Choose the destination for copied text
|
|
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
|
// Does not apply when using copy_command.
|
|
// Options:
|
|
// - system (default)
|
|
// - primary
|
|
//
|
|
// copy_clipboard "primary"
|
|
|
|
// Enable or disable automatic copy (and clear) of selection when releasing mouse
|
|
// Default: true
|
|
//
|
|
// copy_on_select false
|
|
|
|
// Path to the default editor to use to edit pane scrollbuffer
|
|
// Default: $EDITOR or $VISUAL
|
|
//
|
|
// scrollback_editor "/usr/bin/vim"
|
|
|
|
// When attaching to an existing session with other users,
|
|
// should the session be mirrored (true)
|
|
// or should each user have their own cursor (false)
|
|
// Default: false
|
|
//
|
|
// mirror_session true
|
|
|
|
// The folder in which Zellij will look for layouts
|
|
//
|
|
// layout_dir "/path/to/my/layout_dir"
|
|
|
|
// The folder in which Zellij will look for themes
|
|
//
|
|
// theme_dir "/path/to/my/theme_dir"
|
|
|
|
// Enable or disable the rendering of styled and colored underlines (undercurl).
|
|
// May need to be disabled for certain unsupported terminals
|
|
// Default: true
|
|
//
|
|
// styled_underlines false
|