AutoYADM commit: 2024-12-01 00:30:01

This commit is contained in:
Daniel Fichtinger 2024-12-01 00:30:01 -05:00
parent 1c114e7fdc
commit 593a466970
3 changed files with 28 additions and 19 deletions

View file

@ -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

View file

@ -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

15
.zshrc
View file

@ -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"