1
0
Fork 0

tmux cleanup

This commit is contained in:
Luca Bilke 2023-12-11 19:51:04 +01:00
parent 7c3afe44d4
commit 8ebf552539
2 changed files with 5 additions and 2 deletions

View file

@ -17,6 +17,7 @@ set -g set-titles-string "#I:#W"
set -g mouse off
setw -g mode-keys vi
set -g visual-activity on
set -g destroy-unattached on
# STATUS BAR SETTINGS
black="color0"
@ -71,7 +72,7 @@ unbind 'M-Down'
unbind 'M-Right'
unbind 'M-Left'
bind 'C-r' source-file ~/$XDG_CONFIG_HOME/tmux/tmux.conf \; display "Config reloaded"
bind 'C-r' source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display "Config reloaded"
bind 'r' command-prompt -I "#{window_name}" "rename-window '%%'"
bind 'R' command-prompt -I "#{session_name}" "rename-session '%%'"
bind 'c' new-window -c "#{pane_current_path}"

View file

@ -1,4 +1,6 @@
# vim: set ft=sh:
# [ -z "$TMUX" ] && exec tmux
source $ZDOTDIR/configs/vars
source $ZDOTDIR/configs/widgets
source $ZDOTDIR/configs/setup
@ -17,4 +19,4 @@ done
export GPG_TTY=$(tty)
setsid -f gpg-connect-agent updatestartuptty /bye 1>/dev/null
clear