From 593a466970030a795720e562de0cfaddf2c657bc Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sun, 1 Dec 2024 00:30:01 -0500 Subject: [PATCH] AutoYADM commit: 2024-12-01 00:30:01 --- .config/kitty/kitty.conf##hostname.dbox | 13 +++++++------ .config/tmux/tmux.conf | 19 +++++++++++++------ .zshrc | 15 ++++++++------- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/.config/kitty/kitty.conf##hostname.dbox b/.config/kitty/kitty.conf##hostname.dbox index c4a091bd..b3b3468a 100644 --- a/.config/kitty/kitty.conf##hostname.dbox +++ b/.config/kitty/kitty.conf##hostname.dbox @@ -10,9 +10,10 @@ include ~/.cache/wal/colors-kitty.conf background_opacity 0.8 map ctrl+shift+r no_op map ctrl+shift+o no_op -map alt+v new_window -map ctrl+left neighboring_window left -map ctrl+right neighboring_window right -map ctrl+down neighboring_window down -map ctrl+up neighboring_window up -map alt+shift+r load_config_file +# map alt+v new_window +# map ctrl+left neighboring_window left +# map ctrl+right neighboring_window right +# map ctrl+down neighboring_window down +# map ctrl+up neighboring_window up +# map alt+shift+r load_config_file +# map alt+f toggle_maximized diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 1d88ba2d..c7963542 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,7 +1,12 @@ # set-option -sa terminal-overrides ",xterm*:Tc" -set -g terminal-overrides ',xterm-kitty:Tc' -bind-key -n C-Enter send-keys C-Enter -set -g default-terminal "xterm-kitty" +# bind-key -n C-Enter send-keys C-Enter +# set -g terminal-overrides ',xterm-kitty:Tc' +# set -g default-terminal "xterm-kitty" +set -g default-terminal "screen-256color" +set -as terminal-features ",xterm-256color:RGB" +set -as terminal-features ',xterm-kitty:RGB' + +set -g history-limit 10000 unbind r bind r source-file ~/.config/tmux/tmux.conf @@ -11,6 +16,8 @@ unbind C-b set -g prefix C-t set -g mouse on +setw -g automatic-rename on + set -g base-index 1 set -g pane-base-index 1 set-window-option -g pane-base-index 1 @@ -48,10 +55,10 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind-key b set-option status # Swap the split bindings to be consistent with nvim -bind v split-window -h -c "#{pane_current_path}" -bind h split-window -v -c "#{pane_current_path}" +bind -n M-v split-window -h -c "#{pane_current_path}" +bind -n M-s split-window -v -c "#{pane_current_path}" -bind C-x kill-session +bind M-x kill-pane bind S command-prompt -p "rename session:" "rename-session '%%'" bind - copy-mode bind -n M-i next-window diff --git a/.zshrc b/.zshrc index ea6546f6..a921eced 100644 --- a/.zshrc +++ b/.zshrc @@ -26,13 +26,13 @@ alias lg=lazygit alias ylg="yadm enter lazygit" # tmux aliases alias tm="tmux" -# alias ta="tmux attach-session" -# alias tat="tmux attach-session -t" -# alias tka="tmux kill-session -a" -# alias tkt="tmux kill-session -t" -# alias tl="tmux list-sessions" -# alias tn="tmux new-session" -# alias tnt="tmux new-session -t" +alias ta="tmux attach-session" +alias tat="tmux attach-session -t" +alias tka="tmux kill-session -a" +alias tkt="tmux kill-session -t" +alias tl="tmux list-sessions" +alias tn="tmux new-session" +alias tnt="tmux new-session -t" alias zj=zellij @@ -50,6 +50,7 @@ alias autoyadm="AUTOYADMPUSH=1 ~/dev/autoyadm/autoyadm.sh" alias yadmadd="~/dev/autoyadm/yadmadd.sh" bindkey -r '^T' +bindkey -r '\M-x' # Created by `pipx` on 2024-09-20 02:14:00 export PATH="$PATH:/home/fic/.local/bin"