rebooting kitty config with tmux keys
This commit is contained in:
parent
f09e2cbab5
commit
5d10847ae6
3 changed files with 12 additions and 279 deletions
|
|
@ -5,6 +5,18 @@ clipboard_control write-clipboard write-primary no-append
|
||||||
macos_option_as_alt yes
|
macos_option_as_alt yes
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
visual_bell_duration 0.5
|
visual_bell_duration 0.5
|
||||||
|
enabled_layouts splits
|
||||||
|
tab_bar_min_tabs 1
|
||||||
|
|
||||||
|
map ctrl+a>h neighboring_window left
|
||||||
|
map ctrl+a>j neighboring_window bottom
|
||||||
|
map ctrl+a>k neighboring_window top
|
||||||
|
map ctrl+a>l neighboring_window right
|
||||||
|
|
||||||
|
map ctrl+a>" launch --location=hsplit
|
||||||
|
map ctrl+a>% launch --location=vsplit
|
||||||
|
map ctrl+a>c new_tab
|
||||||
|
map ctrl+a>ctrl+a goto_tab -1
|
||||||
|
|
||||||
# BEGIN_KITTY_THEME
|
# BEGIN_KITTY_THEME
|
||||||
include current-theme.conf
|
include current-theme.conf
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
[[input.prepend_keymap]]
|
|
||||||
on = "<Esc>"
|
|
||||||
run = "close"
|
|
||||||
desc = "Cancel input"
|
|
||||||
|
|
@ -1,275 +0,0 @@
|
||||||
keybinds clear-defaults=true {
|
|
||||||
tmux {
|
|
||||||
bind "[" { SwitchToMode "Scroll"; }
|
|
||||||
bind "Ctrl a" { ToggleTab; SwitchToMode "Normal"; }
|
|
||||||
bind "\"" { NewPane "Down"; SwitchToMode "Normal"; }
|
|
||||||
bind "%" { NewPane "Right"; SwitchToMode "Normal"; }
|
|
||||||
bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
|
||||||
bind "c" { NewTab; SwitchToMode "Normal"; }
|
|
||||||
bind "," { SwitchToMode "RenameTab"; }
|
|
||||||
bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
|
||||||
bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
|
||||||
bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
|
||||||
bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
|
||||||
bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
|
||||||
bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
|
||||||
bind "h" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
|
||||||
bind "l" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
|
||||||
bind "j" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
|
||||||
bind "k" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
|
||||||
bind "o" { FocusNextPane; }
|
|
||||||
bind "d" { Detach; }
|
|
||||||
bind "Space" { NextSwapLayout; }
|
|
||||||
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
|
||||||
}
|
|
||||||
shared_except "locked" {
|
|
||||||
bind "Ctrl u" {
|
|
||||||
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/room.wasm" {
|
|
||||||
floating true
|
|
||||||
ignore_case true
|
|
||||||
quick_jump true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
shared_except "normal" "locked" {
|
|
||||||
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
|
||||||
}
|
|
||||||
shared_except "tmux" "locked" {
|
|
||||||
bind "Ctrl a" { SwitchToMode "Tmux"; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
plugins {
|
|
||||||
tab-bar location="zellij:tab-bar"
|
|
||||||
status-bar location="zellij:status-bar"
|
|
||||||
strider location="zellij:strider"
|
|
||||||
compact-bar location="zellij:compact-bar"
|
|
||||||
session-manager location="zellij:session-manager"
|
|
||||||
welcome-screen location="zellij:session-manager" {
|
|
||||||
welcome_screen true
|
|
||||||
}
|
|
||||||
filepicker location="zellij:strider" {
|
|
||||||
cwd "/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
|
||||||
// eg. when terminal window with an active zellij session is closed
|
|
||||||
// Options:
|
|
||||||
// - detach (Default)
|
|
||||||
// - quit
|
|
||||||
//
|
|
||||||
// on_force_close "quit"
|
|
||||||
|
|
||||||
// Send a request for a simplified ui (without arrow fonts) to plugins
|
|
||||||
// Options:
|
|
||||||
// - true
|
|
||||||
// - false (Default)
|
|
||||||
//
|
|
||||||
// simplified_ui true
|
|
||||||
|
|
||||||
// Choose the path to the default shell that zellij will use for opening new panes
|
|
||||||
// Default: $SHELL
|
|
||||||
//
|
|
||||||
// default_shell "fish"
|
|
||||||
|
|
||||||
// Choose the path to override cwd that zellij will use for opening new panes
|
|
||||||
//
|
|
||||||
// default_cwd ""
|
|
||||||
|
|
||||||
// Toggle between having pane frames around the panes
|
|
||||||
// Options:
|
|
||||||
// - true (default)
|
|
||||||
// - false
|
|
||||||
//
|
|
||||||
pane_frames false
|
|
||||||
|
|
||||||
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
|
||||||
// Options:
|
|
||||||
// - true (default)
|
|
||||||
// - false
|
|
||||||
//
|
|
||||||
// auto_layout true
|
|
||||||
|
|
||||||
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
|
|
||||||
// Options:
|
|
||||||
// - true (default)
|
|
||||||
// - false
|
|
||||||
//
|
|
||||||
// session_serialization false
|
|
||||||
|
|
||||||
// Whether pane viewports are serialized along with the session, default is false
|
|
||||||
// Options:
|
|
||||||
// - true
|
|
||||||
// - false (default)
|
|
||||||
// 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
|
|
||||||
|
|
||||||
// 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
|
|
||||||
}
|
|
||||||
|
|
||||||
catppuccin-latte {
|
|
||||||
bg "#acb0be" // Surface2
|
|
||||||
fg "#4c4f69" // Text
|
|
||||||
red "#d20f39"
|
|
||||||
green "#40a02b"
|
|
||||||
blue "#1e66f5"
|
|
||||||
yellow "#df8e1d"
|
|
||||||
magenta "#ea76cb" // Pink
|
|
||||||
orange "#fe640b" // Peach
|
|
||||||
cyan "#04a5e5" // Sky
|
|
||||||
black "#e6e9ef" // Mantle
|
|
||||||
white "#4c4f69" // Text
|
|
||||||
}
|
|
||||||
|
|
||||||
catppuccin-frappe {
|
|
||||||
bg "#626880" // Surface2
|
|
||||||
fg "#c6d0f5" // Text
|
|
||||||
red "#e78284"
|
|
||||||
green "#a6d189"
|
|
||||||
blue "#8caaee"
|
|
||||||
yellow "#e5c890"
|
|
||||||
magenta "#f4b8e4" // Pink
|
|
||||||
orange "#ef9f76" // Peach
|
|
||||||
cyan "#99d1db" // Sky
|
|
||||||
black "#292c3c" // Mantle
|
|
||||||
white "#c6d0f5" // Text
|
|
||||||
}
|
|
||||||
|
|
||||||
catppuccin-macchiato {
|
|
||||||
bg "#5b6078" // Surface2
|
|
||||||
fg "#cad3f5" // Text
|
|
||||||
red "#ed8796"
|
|
||||||
green "#a6da95"
|
|
||||||
blue "#8aadf4"
|
|
||||||
yellow "#eed49f"
|
|
||||||
magenta "#f5bde6" // Pink
|
|
||||||
orange "#f5a97f" // Peach
|
|
||||||
cyan "#91d7e3" // Sky
|
|
||||||
black "#1e2030" // Mantle
|
|
||||||
white "#cad3f5" // Text
|
|
||||||
}
|
|
||||||
|
|
||||||
catppuccin-mocha {
|
|
||||||
bg "#585b70" // Surface2
|
|
||||||
fg "#cdd6f4" // Text
|
|
||||||
red "#f38ba8"
|
|
||||||
green "#a6e3a1"
|
|
||||||
blue "#89b4fa"
|
|
||||||
yellow "#f9e2af"
|
|
||||||
magenta "#f5c2e7" // Pink
|
|
||||||
orange "#fab387" // Peach
|
|
||||||
cyan "#89dceb" // Sky
|
|
||||||
black "#181825" // Mantle
|
|
||||||
white "#cdd6f4" // Text
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Choose the theme that is specified in the themes section.
|
|
||||||
// Default: default
|
|
||||||
//
|
|
||||||
theme "catppuccin-mocha"
|
|
||||||
|
|
||||||
// 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"
|
|
||||||
|
|
||||||
// Toggle enabling the mouse mode.
|
|
||||||
// On certain configurations, or terminals this could
|
|
||||||
// potentially interfere with copying text.
|
|
||||||
// Options:
|
|
||||||
// - true (default)
|
|
||||||
// - false
|
|
||||||
//
|
|
||||||
// mouse_mode false
|
|
||||||
|
|
||||||
// Configure the scroll back buffer size
|
|
||||||
// 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.
|
|
||||||
// Valid values: positive integers
|
|
||||||
// Default value: 10000
|
|
||||||
//
|
|
||||||
// scroll_buffer_size 10000
|
|
||||||
|
|
||||||
// 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
|
|
||||||
|
|
||||||
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
|
|
||||||
// metadata info on this session)
|
|
||||||
// Default: false
|
|
||||||
//
|
|
||||||
// disable_session_metadata true
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue