diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index c88bc9c..11ebce7 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -12,3 +12,8 @@ family = "JetBrainsMono Nerd Font" import = [ "~/.config/alacritty/themes/dracula-pro.toml" ] + +[keyboard] +bindings = [ + { key = "Return", mods = "Shift", chars = "\u001b[13;2u" } +] diff --git a/.tmux.conf b/.tmux.conf index b948b19..82defb1 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -2,6 +2,7 @@ set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'catppuccin/tmux#v2.1.3' set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'omerxx/tmux-sessionx' set -g @continuum-restore 'on' set -g @resurrect-processes 'lazygit yazi' @@ -22,6 +23,10 @@ set -s escape-time 10 # Increase scrollback buffer size set -g history-limit 50000 +# Allow extended keys (Kitty protocol passthrough) +set -g extended-keys on +set -ga terminal-features "*:extkeys" + # True color settings set -g default-terminal "tmux-256color" set -ag terminal-overrides ",xterm-256color:RGB" @@ -43,4 +48,9 @@ set -g status-justify "left" set -g status-left " " set -gF status-right "#[fg=#{@thm_crust},bg=#{@thm_teal}] ##H " +# Remap prefix from Ctrl+b to Ctrl+Space +unbind C-b +set -g prefix C-Space +bind C-Space send-prefix + run '~/.tmux/plugins/tpm/tpm'