AutoYADM commit: 2024-12-01 00:30:01
This commit is contained in:
parent
1c114e7fdc
commit
593a466970
3 changed files with 28 additions and 19 deletions
|
@ -10,9 +10,10 @@ include ~/.cache/wal/colors-kitty.conf
|
||||||
background_opacity 0.8
|
background_opacity 0.8
|
||||||
map ctrl+shift+r no_op
|
map ctrl+shift+r no_op
|
||||||
map ctrl+shift+o no_op
|
map ctrl+shift+o no_op
|
||||||
map alt+v new_window
|
# map alt+v new_window
|
||||||
map ctrl+left neighboring_window left
|
# map ctrl+left neighboring_window left
|
||||||
map ctrl+right neighboring_window right
|
# map ctrl+right neighboring_window right
|
||||||
map ctrl+down neighboring_window down
|
# map ctrl+down neighboring_window down
|
||||||
map ctrl+up neighboring_window up
|
# map ctrl+up neighboring_window up
|
||||||
map alt+shift+r load_config_file
|
# map alt+shift+r load_config_file
|
||||||
|
# map alt+f toggle_maximized
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
# set-option -sa terminal-overrides ",xterm*:Tc"
|
# set-option -sa terminal-overrides ",xterm*:Tc"
|
||||||
set -g terminal-overrides ',xterm-kitty:Tc'
|
# bind-key -n C-Enter send-keys C-Enter
|
||||||
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 "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
|
unbind r
|
||||||
bind r source-file ~/.config/tmux/tmux.conf
|
bind r source-file ~/.config/tmux/tmux.conf
|
||||||
|
@ -11,6 +16,8 @@ unbind C-b
|
||||||
set -g prefix C-t
|
set -g prefix C-t
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
|
setw -g automatic-rename on
|
||||||
|
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
set-window-option -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
|
bind-key b set-option status
|
||||||
|
|
||||||
# Swap the split bindings to be consistent with nvim
|
# Swap the split bindings to be consistent with nvim
|
||||||
bind v split-window -h -c "#{pane_current_path}"
|
bind -n M-v split-window -h -c "#{pane_current_path}"
|
||||||
bind h split-window -v -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 S command-prompt -p "rename session:" "rename-session '%%'"
|
||||||
bind - copy-mode
|
bind - copy-mode
|
||||||
bind -n M-i next-window
|
bind -n M-i next-window
|
||||||
|
|
15
.zshrc
15
.zshrc
|
@ -26,13 +26,13 @@ alias lg=lazygit
|
||||||
alias ylg="yadm enter lazygit"
|
alias ylg="yadm enter lazygit"
|
||||||
# tmux aliases
|
# tmux aliases
|
||||||
alias tm="tmux"
|
alias tm="tmux"
|
||||||
# alias ta="tmux attach-session"
|
alias ta="tmux attach-session"
|
||||||
# alias tat="tmux attach-session -t"
|
alias tat="tmux attach-session -t"
|
||||||
# alias tka="tmux kill-session -a"
|
alias tka="tmux kill-session -a"
|
||||||
# alias tkt="tmux kill-session -t"
|
alias tkt="tmux kill-session -t"
|
||||||
# alias tl="tmux list-sessions"
|
alias tl="tmux list-sessions"
|
||||||
# alias tn="tmux new-session"
|
alias tn="tmux new-session"
|
||||||
# alias tnt="tmux new-session -t"
|
alias tnt="tmux new-session -t"
|
||||||
|
|
||||||
alias zj=zellij
|
alias zj=zellij
|
||||||
|
|
||||||
|
@ -50,6 +50,7 @@ alias autoyadm="AUTOYADMPUSH=1 ~/dev/autoyadm/autoyadm.sh"
|
||||||
alias yadmadd="~/dev/autoyadm/yadmadd.sh"
|
alias yadmadd="~/dev/autoyadm/yadmadd.sh"
|
||||||
|
|
||||||
bindkey -r '^T'
|
bindkey -r '^T'
|
||||||
|
bindkey -r '\M-x'
|
||||||
|
|
||||||
# Created by `pipx` on 2024-09-20 02:14:00
|
# Created by `pipx` on 2024-09-20 02:14:00
|
||||||
export PATH="$PATH:/home/fic/.local/bin"
|
export PATH="$PATH:/home/fic/.local/bin"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue