update dotfiles

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
2024-12-02 19:57:09 +05:30
parent e727130c60
commit 49eed0e56a
20 changed files with 453 additions and 158 deletions
+57 -33
View File
@@ -27,7 +27,7 @@ keybinds clear-defaults=true {
bind "z" { TogglePaneFrames; SwitchToMode "Normal"; }
bind "w" { ToggleFloatingPanes; SwitchToMode "Normal"; }
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "Normal"; }
bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;}
bind "r" { SwitchToMode "RenamePane"; PaneNameInput 0;}
}
move {
bind "Alt m" { SwitchToMode "Normal"; }
@@ -45,17 +45,6 @@ keybinds clear-defaults=true {
bind "x" { CloseTab; SwitchToMode "Normal"; }
bind "s" { ToggleActiveSyncTab; SwitchToMode "Normal"; }
bind "b" { BreakPane; SwitchToMode "Normal"; }
bind "]" { BreakPaneRight; SwitchToMode "Normal"; }
bind "[" { BreakPaneLeft; SwitchToMode "Normal"; }
bind "1" { GoToTab 1; SwitchToMode "Normal"; }
bind "2" { GoToTab 2; SwitchToMode "Normal"; }
bind "3" { GoToTab 3; SwitchToMode "Normal"; }
bind "4" { GoToTab 4; SwitchToMode "Normal"; }
bind "5" { GoToTab 5; SwitchToMode "Normal"; }
bind "6" { GoToTab 6; SwitchToMode "Normal"; }
bind "7" { GoToTab 7; SwitchToMode "Normal"; }
bind "8" { GoToTab 8; SwitchToMode "Normal"; }
bind "9" { GoToTab 9; SwitchToMode "Normal"; }
bind "Tab" { ToggleTab; }
}
scroll {
@@ -96,7 +85,7 @@ keybinds clear-defaults=true {
}
session {
bind "Alt o" { SwitchToMode "Normal"; }
bind "Ctrl s" { SwitchToMode "Scroll"; }
bind "Alt s" { SwitchToMode "Scroll"; }
bind "d" { Detach; }
bind "w" {
LaunchOrFocusPlugin "session-manager" {
@@ -126,18 +115,27 @@ keybinds clear-defaults=true {
}
shared_except "locked" {
bind "Ctrl Space" { SwitchToMode "Locked"; }
bind "Ctrl q" { Quit; }
bind "Alt q" { Quit; }
bind "Alt n" { NewPane; }
bind "Alt i" { MoveTab "Left"; }
bind "Alt o" { MoveTab "Right"; }
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
bind "Alt j" "Alt Down" { MoveFocus "Down"; }
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
bind "Alt <" "Alt ," { GoToPreviousTab; }
bind "Alt >" "Alt ." { GoToNextTab; }
bind "Alt Left" { MoveFocus "Left"; }
bind "Alt Right" { MoveFocus "Right"; }
bind "Alt Down" { MoveFocus "Down"; }
bind "Alt Up" { MoveFocus "Up"; }
bind "Alt =" "Alt +" { Resize "Increase"; }
bind "Alt -" { Resize "Decrease"; }
bind "Alt [" { PreviousSwapLayout; }
bind "Alt ]" { NextSwapLayout; }
bind "Alt 1" { GoToTab 1; SwitchToMode "Normal"; }
bind "Alt 2" { GoToTab 2; SwitchToMode "Normal"; }
bind "Alt 3" { GoToTab 3; SwitchToMode "Normal"; }
bind "Alt 4" { GoToTab 4; SwitchToMode "Normal"; }
bind "Alt 5" { GoToTab 5; SwitchToMode "Normal"; }
bind "Alt 6" { GoToTab 6; SwitchToMode "Normal"; }
bind "Alt 7" { GoToTab 7; SwitchToMode "Normal"; }
bind "Alt 8" { GoToTab 8; SwitchToMode "Normal"; }
bind "Alt 9" { GoToTab 9; SwitchToMode "Normal"; }
}
shared_except "normal" "locked" {
bind "Enter" "Esc" { SwitchToMode "Normal"; }
@@ -172,11 +170,37 @@ plugins {
compact-bar location="zellij:compact-bar"
session-manager location="zellij:session-manager"
welcome-screen location="zellij:session-manager" {
welcome_screen true
welcome_screen false
}
filepicker location="zellij:strider" {
cwd "/"
}
zjstatus location="file:~/.config/zellij/plugins/zjstatus.wasm" {
format_left "{tabs}"
format_center ""
format_right "{mode} | {datetime} | #[fg=#66cc99]{session}"
format_space ""
hide_frame_for_single_pane "false"
mode_normal "#[fg=#00ffff] {name}"
mode_locked "#[fg=#ff0000] {name}"
mode_tmux "#[fg=#ffc387] {name}"
tab_normal "{index}:#[fg=#ffffff]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
tab_active "{index}:#[fg=#db7093,bold]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
tab_display_count "9"
tab_separator "| "
tab_sync_indicator "S"
tab_fullscreen_indicator "F"
tab_floating_indicator "W"
datetime "#[fg=#db7093] {format}"
datetime_format "%a %b %d %H:%M"
datetime_timezone "Asia/Kolkata"
}
}
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
@@ -192,7 +216,7 @@ plugins {
// - true
// - false (Default)
//
// simplified_ui true
simplified_ui true
// Choose the path to the default shell that zellij will use for opening new panes
// Default: $SHELL
@@ -222,19 +246,19 @@ plugins {
// - true (default)
// - false
//
// session_serialization false
session_serialization true
// Whether pane viewports are serialized along with the session, default is false
// Options:
// - true
// - false (default)
// serialize_pane_viewport true
serialize_pane_viewport true
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
//
// scrollback_lines_to_serialize 10000
scrollback_lines_to_serialize 100000
// Define color themes for Zellij
// For more examples, see: https://github.com/zellij-org/zellij/tree/main/example/themes
@@ -246,13 +270,13 @@ themes {
fg "#f2f4f8"
red "#ee5396"
green "#25be6a"
blue "#78a9ff"
yellow "#08bdba"
blue "#33b1ff"
yellow "#f8e17c"
magenta "#be95ff"
orange "#3ddbd9"
cyan "#33b1ff"
orange "#ffa87b"
cyan "#3ddbd9"
black "#353535"
white "#b6b8bb"
white "#ffffff"
}
}
@@ -264,7 +288,7 @@ theme "carbonfox"
// The name of the default layout to load on startup
// Default: "compact"
//
default_layout "compact"
default_layout "terminal"
// Choose the mode that zellij uses when starting up.
// Default: normal
@@ -286,7 +310,7 @@ default_layout "compact"
// Valid values: positive integers
// Default value: 10000
//
// scroll_buffer_size 10000
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
@@ -342,4 +366,4 @@ scrollback_editor "/usr/bin/nvim"
// metadata info on this session)
// Default: false
//
// disable_session_metadata true
disable_session_metadata false
+30 -5
View File
@@ -1,4 +1,33 @@
layout {
pane {
borderless true
size 1
plugin location="file:~/.config/zellij/plugins/zjstatus.wasm" {
format_left "{tabs}"
format_center ""
format_right "{mode} | {datetime} | #[fg=#66cc99]{session}"
format_space ""
hide_frame_for_single_pane "false"
mode_normal "#[fg=#00ffff] {name}"
mode_locked "#[fg=#ff0000] {name}"
mode_tmux "#[fg=#ffc387] {name}"
tab_normal "{index}:#[fg=#ffffff]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
tab_active "{index}:#[fg=#db7093]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
tab_display_count "9"
tab_separator "| "
tab_sync_indicator "S"
tab_fullscreen_indicator "F"
tab_floating_indicator "W"
datetime "#[fg=#db7093] {format}"
datetime_format "%a %b %d %H:%M"
datetime_timezone "Asia/Kolkata"
}
}
pane split_direction="horizontal" {
pane {
edit "."
@@ -11,9 +40,5 @@ layout {
}
}
pane {
plugin location="zellij:compact-bar"
borderless true
size 1
}
}
+27 -3
View File
@@ -1,4 +1,31 @@
layout {
pane borderless=true size=1 {
plugin location="file:~/.config/zellij/plugins/zjstatus.wasm" {
format_left "{tabs}"
format_center ""
format_right "{mode} | {datetime} | #[fg=#66cc99]{session}"
format_space ""
hide_frame_for_single_pane "false"
mode_normal "#[fg=#00ffff] {name}"
mode_locked "#[fg=#ff0000] {name}"
mode_tmux "#[fg=#ffc387] {name}"
tab_normal "{index}:#[fg=#ffffff]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
tab_active "{index}:#[fg=#db7093]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
tab_display_count "9"
tab_separator " | "
tab_sync_indicator "S"
tab_fullscreen_indicator "F"
tab_floating_indicator "W"
datetime "#[fg=#db7093] {format} "
datetime_format "%a %b %d %H:%M"
datetime_timezone "Asia/Kolkata"
}
}
pane split_direction="vertical" {
pane {
edit "."
@@ -16,7 +43,4 @@ layout {
}
}
}
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
+32
View File
@@ -0,0 +1,32 @@
layout {
pane {
borderless true
size 1
plugin location="file:~/.config/zellij/plugins/zjstatus.wasm" {
format_left "{tabs}"
format_center ""
format_right "{mode} | {datetime} | #[fg=#66cc99]{session}"
format_space ""
hide_frame_for_single_pane "false"
mode_normal "#[fg=#00ffff]{name}"
mode_locked "#[fg=#ff0000]{name}"
mode_tmux "#[fg=#ffc387]{name}"
tab_normal "{index}:#[fg=#ffffff]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator} "
tab_active "{index}:#[fg=#db7093]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator} "
tab_display_count "9"
tab_separator " | "
tab_sync_indicator "S"
tab_fullscreen_indicator "F"
tab_floating_indicator "W"
datetime "#[fg=#db7093]{format} "
datetime_format "%a %b %d %H:%M"
datetime_timezone "Asia/Kolkata"
}
}
pane
}