1 keybinds clear-defaults=true {
3 // uncomment this and adjust key if using copy_on_select=false
4 // bind "Alt c" { Copy; }
7 bind "Esc" { SwitchToMode "Normal"; }
10 bind "Ctrl n" { SwitchToMode "Normal"; }
11 bind "h" "Left" { Resize "Increase Left"; }
12 bind "j" "Down" { Resize "Increase Down"; }
13 bind "k" "Up" { Resize "Increase Up"; }
14 bind "l" "Right" { Resize "Increase Right"; }
15 bind "H" { Resize "Decrease Left"; }
16 bind "J" { Resize "Decrease Down"; }
17 bind "K" { Resize "Decrease Up"; }
18 bind "L" { Resize "Decrease Right"; }
19 bind "=" "+" { Resize "Increase"; }
20 bind "-" { Resize "Decrease"; }
23 bind "Ctrl p" { SwitchToMode "Normal"; }
24 bind "h" "Left" { MoveFocus "Left"; }
25 bind "l" "Right" { MoveFocus "Right"; }
26 bind "j" "Down" { MoveFocus "Down"; }
27 bind "k" "Up" { MoveFocus "Up"; }
28 bind "p" { SwitchFocus; }
29 bind "n" { NewPane; SwitchToMode "Normal"; }
30 bind "d" { NewPane "Down"; SwitchToMode "Normal"; }
31 bind "r" { NewPane "Right"; SwitchToMode "Normal"; }
32 bind "x" { CloseFocus; SwitchToMode "Normal"; }
33 bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
34 bind "z" { TogglePaneFrames; SwitchToMode "Normal"; }
35 bind "w" { ToggleFloatingPanes; SwitchToMode "Normal"; }
36 bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "Normal"; }
37 bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;}
40 bind "Ctrl h" { SwitchToMode "Normal"; }
41 bind "n" "Tab" { MovePane; }
42 bind "p" { MovePaneBackwards; }
43 bind "h" "Left" { MovePane "Left"; }
44 bind "j" "Down" { MovePane "Down"; }
45 bind "k" "Up" { MovePane "Up"; }
46 bind "l" "Right" { MovePane "Right"; }
49 bind "Ctrl t" { SwitchToMode "Normal"; }
50 bind "r" { SwitchToMode "RenameTab"; TabNameInput 0; }
51 bind "h" "Left" "Up" "k" { GoToPreviousTab; }
52 bind "l" "Right" "Down" "j" { GoToNextTab; }
53 bind "n" { NewTab; SwitchToMode "Normal"; }
54 bind "x" { CloseTab; SwitchToMode "Normal"; }
55 bind "s" { ToggleActiveSyncTab; SwitchToMode "Normal"; }
56 bind "b" { BreakPane; SwitchToMode "Normal"; }
57 bind "]" { BreakPaneRight; SwitchToMode "Normal"; }
58 bind "[" { BreakPaneLeft; SwitchToMode "Normal"; }
59 bind "1" { GoToTab 1; SwitchToMode "Normal"; }
60 bind "2" { GoToTab 2; SwitchToMode "Normal"; }
61 bind "3" { GoToTab 3; SwitchToMode "Normal"; }
62 bind "4" { GoToTab 4; SwitchToMode "Normal"; }
63 bind "5" { GoToTab 5; SwitchToMode "Normal"; }
64 bind "6" { GoToTab 6; SwitchToMode "Normal"; }
65 bind "7" { GoToTab 7; SwitchToMode "Normal"; }
66 bind "8" { GoToTab 8; SwitchToMode "Normal"; }
67 bind "9" { GoToTab 9; SwitchToMode "Normal"; }
68 bind "Tab" { ToggleTab; }
71 bind "Ctrl s" { SwitchToMode "Normal"; }
72 bind "e" { EditScrollback; SwitchToMode "Normal"; }
73 bind "s" { SwitchToMode "EnterSearch"; SearchInput 0; }
74 bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
75 bind "j" "Down" { ScrollDown; }
76 bind "k" "Up" { ScrollUp; }
77 bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; }
78 bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; }
79 bind "d" { HalfPageScrollDown; }
80 bind "u" { HalfPageScrollUp; }
81 // uncomment this and adjust key if using copy_on_select=false
82 // bind "Alt c" { Copy; }
85 bind "Ctrl s" { SwitchToMode "Normal"; }
86 bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
87 bind "j" "Down" { ScrollDown; }
88 bind "k" "Up" { ScrollUp; }
89 bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; }
90 bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; }
91 bind "d" { HalfPageScrollDown; }
92 bind "u" { HalfPageScrollUp; }
93 bind "n" { Search "down"; }
94 bind "p" { Search "up"; }
95 bind "c" { SearchToggleOption "CaseSensitivity"; }
96 bind "w" { SearchToggleOption "Wrap"; }
97 bind "o" { SearchToggleOption "WholeWord"; }
100 bind "Ctrl c" "Esc" { SwitchToMode "Scroll"; }
101 bind "Enter" { SwitchToMode "Search"; }
104 bind "Ctrl c" { SwitchToMode "Normal"; }
105 bind "Esc" { UndoRenameTab; SwitchToMode "Tab"; }
108 bind "Ctrl c" { SwitchToMode "Normal"; }
109 bind "Esc" { UndoRenamePane; SwitchToMode "Pane"; }
112 bind "Ctrl o" { SwitchToMode "Normal"; }
113 bind "Ctrl s" { SwitchToMode "Scroll"; }
116 LaunchOrFocusPlugin "zellij:session-manager" {
118 move_to_focused_tab true
120 SwitchToMode "Normal"
124 bind "[" { SwitchToMode "Scroll"; }
125 bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
126 bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
127 bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
128 bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
129 bind "c" { NewTab; SwitchToMode "Normal"; }
130 bind "," { SwitchToMode "RenameTab"; }
131 bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
132 bind "n" { GoToNextTab; SwitchToMode "Normal"; }
133 bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
134 bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
135 bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
136 bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
137 bind "h" { MoveFocus "Left"; SwitchToMode "Normal"; }
138 bind "l" { MoveFocus "Right"; SwitchToMode "Normal"; }
139 bind "j" { MoveFocus "Down"; SwitchToMode "Normal"; }
140 bind "k" { MoveFocus "Up"; SwitchToMode "Normal"; }
141 bind "o" { FocusNextPane; }
143 bind "Space" { NextSwapLayout; }
144 bind "x" { CloseFocus; SwitchToMode "Normal"; }
146 shared_except "locked" {
147 bind "Esc" { SwitchToMode "Locked"; }
148 bind "Ctrl q" { Quit; }
149 bind "Alt n" { NewPane; }
150 bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
151 bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
152 bind "Alt j" "Alt Down" { MoveFocus "Down"; }
153 bind "Alt k" "Alt Up" { MoveFocus "Up"; }
154 bind "Alt =" "Alt +" { Resize "Increase"; }
155 bind "Alt -" { Resize "Decrease"; }
156 bind "Alt [" { PreviousSwapLayout; }
157 bind "Alt ]" { NextSwapLayout; }
159 shared_except "normal" "locked" {
160 bind "Enter" "Esc" { SwitchToMode "Normal"; }
162 shared_except "pane" "locked" {
163 bind "Ctrl p" { SwitchToMode "Pane"; }
165 shared_except "resize" "locked" {
166 bind "Ctrl n" { SwitchToMode "Resize"; }
168 shared_except "scroll" "locked" {
169 bind "Ctrl s" { SwitchToMode "Scroll"; }
171 shared_except "session" "locked" {
172 bind "Ctrl o" { SwitchToMode "Session"; }
174 shared_except "tab" "locked" {
175 bind "Ctrl t" { SwitchToMode "Tab"; }
177 shared_except "move" "locked" {
178 bind "Ctrl h" { SwitchToMode "Move"; }
180 shared_except "tmux" "locked" {
185 tab-bar { path "tab-bar"; }
186 status-bar { path "status-bar"; }
187 strider { path "strider"; }
188 compact-bar { path "compact-bar"; }
189 session-manager { path "session-manager"; }
192 // - detach (Default)
195 // on_force_close "quit"
200 // simplified_ui true
206 // default_cwd "/stash"
212 // session_serialization false
214 // serialize_pane_viewport true
216 // scrollback_lines_to_serialize 10000
236 // The name of the default layout to load on startup
237 // Default: "default"
239 default_layout "compact"
241 // default_mode "locked"
245 // scroll_buffer_size 10000
247 // copy_command "wl-copy" // wayland
249 // - system (default)
252 // copy_clipboard "primary"
254 // copy_on_select false
256 // Default: $EDITOR or $VISUAL
258 // scrollback_editor "/usr/local/bin/emacs"
260 // mirror_session true
262 // layout_dir "/path/to/my/layout_dir"
264 // theme_dir "/path/to/my/theme_dir"
266 // styled_underlines false