zellij abbreviation
This commit is contained in:
@@ -34,6 +34,8 @@ status is-interactive; and begin
|
|||||||
abbr -a txk 'tmux kill-session -t'
|
abbr -a txk 'tmux kill-session -t'
|
||||||
abbr -a txks 'tmux kill-server'
|
abbr -a txks 'tmux kill-server'
|
||||||
|
|
||||||
|
abbr -a zj 'zellij'
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
alias che chezmoi
|
alias che chezmoi
|
||||||
alias gb 'git branch'
|
alias gb 'git branch'
|
||||||
|
|||||||
+24
-16
@@ -1,3 +1,7 @@
|
|||||||
|
//
|
||||||
|
// THIS FILE WAS AUTOGENERATED BY ZELLIJ, THE PREVIOUS FILE AT THIS LOCATION WAS COPIED TO: /Users/thomasglopes/.config/zellij/config.kdl.bak
|
||||||
|
//
|
||||||
|
|
||||||
keybinds clear-defaults=true {
|
keybinds clear-defaults=true {
|
||||||
locked {
|
locked {
|
||||||
bind "Ctrl l" { SwitchToMode "normal"; }
|
bind "Ctrl l" { SwitchToMode "normal"; }
|
||||||
@@ -76,10 +80,10 @@ keybinds clear-defaults=true {
|
|||||||
bind "up" { MovePane "up"; }
|
bind "up" { MovePane "up"; }
|
||||||
bind "right" { MovePane "right"; }
|
bind "right" { MovePane "right"; }
|
||||||
bind "h" { MovePane "left"; }
|
bind "h" { MovePane "left"; }
|
||||||
bind "Ctrl m" { SwitchToMode "normal"; }
|
|
||||||
bind "j" { MovePane "down"; }
|
bind "j" { MovePane "down"; }
|
||||||
bind "k" { MovePane "up"; }
|
bind "k" { MovePane "up"; }
|
||||||
bind "l" { MovePane "right"; }
|
bind "l" { MovePane "right"; }
|
||||||
|
bind "Ctrl m" { SwitchToMode "normal"; }
|
||||||
bind "n" { MovePane; }
|
bind "n" { MovePane; }
|
||||||
bind "p" { MovePaneBackwards; }
|
bind "p" { MovePaneBackwards; }
|
||||||
bind "tab" { MovePane; }
|
bind "tab" { MovePane; }
|
||||||
@@ -133,33 +137,39 @@ keybinds clear-defaults=true {
|
|||||||
SwitchToMode "normal"
|
SwitchToMode "normal"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
shared {
|
||||||
|
bind "F1" {
|
||||||
|
MessagePlugin "compact-bar" {
|
||||||
|
name "toggle_tooltip"
|
||||||
|
payload "1"
|
||||||
|
floating false
|
||||||
|
tooltip "F1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
shared_except "locked" {
|
shared_except "locked" {
|
||||||
bind "Alt left" { MoveFocusOrTab "left"; }
|
bind "Alt left" { MoveFocusOrTab "left"; }
|
||||||
|
bind "Alt Shift left" { GoToPreviousTab; }
|
||||||
bind "Alt down" { MoveFocus "down"; }
|
bind "Alt down" { MoveFocus "down"; }
|
||||||
bind "Alt up" { MoveFocus "up"; }
|
bind "Alt up" { MoveFocus "up"; }
|
||||||
bind "Alt right" { MoveFocusOrTab "right"; }
|
bind "Alt right" { MoveFocusOrTab "right"; }
|
||||||
|
bind "Alt Shift right" { GoToNextTab; }
|
||||||
bind "Alt +" { Resize "Increase"; }
|
bind "Alt +" { Resize "Increase"; }
|
||||||
bind "Alt -" { Resize "Decrease"; }
|
bind "Alt -" { Resize "Decrease"; }
|
||||||
bind "Alt =" { Resize "Increase"; }
|
bind "Alt =" { Resize "Increase"; }
|
||||||
bind "Alt [" { PreviousSwapLayout; }
|
bind "Alt [" { PreviousSwapLayout; }
|
||||||
bind "Alt ]" { NextSwapLayout; }
|
bind "Alt ]" { NextSwapLayout; }
|
||||||
bind "Alt f" { ToggleFloatingPanes; }
|
bind "Alt f" { ToggleFloatingPanes; }
|
||||||
bind "Ctrl l" { SwitchToMode "locked"; }
|
|
||||||
bind "Alt h" { MoveFocusOrTab "left"; }
|
bind "Alt h" { MoveFocusOrTab "left"; }
|
||||||
bind "Alt i" { MoveTab "left"; }
|
bind "Alt i" { MoveTab "left"; }
|
||||||
bind "Alt j" { MoveFocus "down"; }
|
bind "Alt j" { MoveFocus "down"; }
|
||||||
bind "Alt k" { MoveFocus "up"; }
|
bind "Alt k" { MoveFocus "up"; }
|
||||||
|
bind "Ctrl l" { SwitchToMode "locked"; }
|
||||||
bind "Alt l" { MoveFocusOrTab "right"; }
|
bind "Alt l" { MoveFocusOrTab "right"; }
|
||||||
bind "Alt n" { NewPane; }
|
bind "Alt n" { NewPane; }
|
||||||
bind "Alt o" { MoveTab "right"; }
|
bind "Alt o" { MoveTab "right"; }
|
||||||
bind "Alt p" { TogglePaneInGroup; }
|
bind "Alt p" { TogglePaneInGroup; }
|
||||||
bind "Alt Shift p" { ToggleGroupMarking; }
|
bind "Alt Shift p" { ToggleGroupMarking; }
|
||||||
bind "Alt Shift left" { GoToPreviousTab; }
|
|
||||||
bind "Alt Shift right" { GoToNextTab; }
|
|
||||||
// bind "Ctrl q" { Quit; }
|
|
||||||
}
|
|
||||||
shared_except "locked" "resize" {
|
|
||||||
bind "Ctrl x" { SwitchToMode "resize"; }
|
|
||||||
}
|
}
|
||||||
shared_except "locked" "move" {
|
shared_except "locked" "move" {
|
||||||
bind "Ctrl m" { SwitchToMode "move"; }
|
bind "Ctrl m" { SwitchToMode "move"; }
|
||||||
@@ -179,6 +189,9 @@ keybinds clear-defaults=true {
|
|||||||
shared_except "locked" "pane" {
|
shared_except "locked" "pane" {
|
||||||
bind "Ctrl p" { SwitchToMode "pane"; }
|
bind "Ctrl p" { SwitchToMode "pane"; }
|
||||||
}
|
}
|
||||||
|
shared_except "locked" "resize" {
|
||||||
|
bind "Ctrl x" { SwitchToMode "resize"; }
|
||||||
|
}
|
||||||
shared_except "normal" "locked" "entersearch" {
|
shared_except "normal" "locked" "entersearch" {
|
||||||
bind "enter" { SwitchToMode "normal"; }
|
bind "enter" { SwitchToMode "normal"; }
|
||||||
}
|
}
|
||||||
@@ -286,10 +299,6 @@ web_client {
|
|||||||
// Choose the theme that is specified in the themes section.
|
// Choose the theme that is specified in the themes section.
|
||||||
// Default: default
|
// Default: default
|
||||||
//
|
//
|
||||||
// theme "dracula"
|
|
||||||
|
|
||||||
// Load the matugen-generated theme.
|
|
||||||
source_file "~/.config/zellij/themes/matugen.kdl"
|
|
||||||
theme "matugen"
|
theme "matugen"
|
||||||
|
|
||||||
// Choose the base input mode of zellij.
|
// Choose the base input mode of zellij.
|
||||||
@@ -299,7 +308,7 @@ theme "matugen"
|
|||||||
|
|
||||||
// Choose the path to the default shell that zellij will use for opening new panes
|
// Choose the path to the default shell that zellij will use for opening new panes
|
||||||
// Default: $SHELL
|
// Default: $SHELL
|
||||||
|
//
|
||||||
default_shell "fish"
|
default_shell "fish"
|
||||||
|
|
||||||
// Choose the path to override cwd that zellij will use for opening new panes
|
// Choose the path to override cwd that zellij will use for opening new panes
|
||||||
@@ -308,10 +317,9 @@ default_shell "fish"
|
|||||||
|
|
||||||
// The name of the default layout to load on startup
|
// The name of the default layout to load on startup
|
||||||
// Default: "default"
|
// Default: "default"
|
||||||
|
//
|
||||||
default_layout "compact"
|
default_layout "compact"
|
||||||
|
|
||||||
|
|
||||||
// The folder in which Zellij will look for layouts
|
// The folder in which Zellij will look for layouts
|
||||||
// (Requires restart)
|
// (Requires restart)
|
||||||
//
|
//
|
||||||
@@ -512,7 +520,7 @@ default_layout "compact"
|
|||||||
// Whether to show tips on startup
|
// Whether to show tips on startup
|
||||||
// Default: true
|
// Default: true
|
||||||
//
|
//
|
||||||
// show_startup_tips false
|
show_startup_tips false
|
||||||
|
|
||||||
// Whether to show release notes on first version run
|
// Whether to show release notes on first version run
|
||||||
// Default: true
|
// Default: true
|
||||||
|
|||||||
Reference in New Issue
Block a user