tmux: add config

This commit is contained in:
dogeystamp 2022-07-05 17:20:16 -04:00
parent 72bca27bf7
commit 0326268087
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
3 changed files with 31 additions and 0 deletions

View File

@ -4,6 +4,8 @@ end
source ~/.config/fish/aliases.fish
source ~/.config/fish/functions/tmux_prompt.fish
# Set GPG_TTY
gpgt

View File

@ -0,0 +1,12 @@
if set -q TMUX
# python venv style prompt replacement
functions -c fish_prompt _old_fish_prompt
function fish_prompt
printf "%s%s%s" (set_color 809C80) "(tmux) " (set_color normal)
_old_fish_prompt
end
printf "aawagga"
end

View File

@ -0,0 +1,17 @@
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind u split-window -h
bind i split-window -v
unbind '"'
unbind %
bind h select-pane -L
bind l select-pane -R
bind j select-pane -D
bind k select-pane -U
set -g status off
set escape-time 20