[update] Update the zellij config

This commit is contained in:
Anas Elgarhy 2023-06-20 14:50:45 +03:00
parent d50d555e11
commit f1ef247c0c
No known key found for this signature in database
GPG Key ID: 0501802A1D496528
1 changed files with 9 additions and 20 deletions

View File

@ -2,7 +2,7 @@
keybinds { keybinds {
normal { normal {
// uncomment this and adjust key if using copy_on_select=false // uncomment this and adjust key if using copy_on_select=false
// bind "Alt c" { Copy; } bind "Alt c" { Copy; }
} }
locked { locked {
bind "Ctrl g" { SwitchToMode "Normal"; } bind "Ctrl g" { SwitchToMode "Normal"; }
@ -76,7 +76,7 @@ keybinds {
bind "d" { HalfPageScrollDown; } bind "d" { HalfPageScrollDown; }
bind "u" { HalfPageScrollUp; } bind "u" { HalfPageScrollUp; }
// uncomment this and adjust key if using copy_on_select=false // uncomment this and adjust key if using copy_on_select=false
// bind "Alt c" { Copy; } bind "Alt c" { Copy; }
} }
search { search {
bind "Ctrl s" { SwitchToMode "Normal"; } bind "Ctrl s" { SwitchToMode "Normal"; }
@ -181,14 +181,14 @@ plugins {
// - detach (Default) // - detach (Default)
// - quit // - quit
// //
// on_force_close "quit" on_force_close "detach"
// Send a request for a simplified ui (without arrow fonts) to plugins // Send a request for a simplified ui (without arrow fonts) to plugins
// Options: // Options:
// - true // - true
// - false (Default) // - false (Default)
// //
// simplified_ui true simplified_ui false
// 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
@ -220,26 +220,19 @@ default_layout "compact"
// Toggle enabling the mouse mode. // Toggle enabling the mouse mode.
// On certain configurations, or terminals this could // On certain configurations, or terminals this could
// potentially interfere with copying text. // potentially interfere with copying text.
// Options: mouse_mode true
// - true (default)
// - false
//
// mouse_mode false
// Configure the scroll back buffer size // Configure the scroll back buffer size
// This is the number of lines zellij stores for each pane in the scroll back // This is the number of lines zellij stores for each pane in the scroll back
// buffer. Excess number of lines are discarded in a FIFO fashion. // buffer. Excess number of lines are discarded in a FIFO fashion.
// Valid values: positive integers // Valid values: positive integers
// Default value: 10000 scroll_buffer_size 100000
//
// scroll_buffer_size 10000
// Provide a command to execute when copying text. The text will be piped to // 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 // 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 // terminal emulators which do not support the OSC 52 ANSI control sequence
// that will be used by default if this option is not set. // that will be used by default if this option is not set.
// Examples: // Examples:
//
// copy_command "xclip -selection clipboard" // x11 // copy_command "xclip -selection clipboard" // x11
// copy_command "wl-copy" // wayland // copy_command "wl-copy" // wayland
// copy_command "pbcopy" // osx // copy_command "pbcopy" // osx
@ -251,12 +244,10 @@ default_layout "compact"
// - system (default) // - system (default)
// - primary // - primary
// //
// copy_clipboard "primary" copy_clipboard "system"
// Enable or disable automatic copy (and clear) of selection when releasing mouse // Enable or disable automatic copy (and clear) of selection when releasing mouse
// Default: true copy_on_select false
//
// copy_on_select false
// Path to the default editor to use to edit pane scrollbuffer // Path to the default editor to use to edit pane scrollbuffer
// Default: $EDITOR or $VISUAL // Default: $EDITOR or $VISUAL
@ -266,9 +257,7 @@ default_layout "compact"
// When attaching to an existing session with other users, // When attaching to an existing session with other users,
// should the session be mirrored (true) // should the session be mirrored (true)
// or should each user have their own cursor (false) // or should each user have their own cursor (false)
// Default: false mirror_session false
//
// mirror_session true
// The folder in which Zellij will look for layouts // The folder in which Zellij will look for layouts
// //