diff --git a/bashrc b/bashrc index af0ca9b..ee1739f 100644 --- a/bashrc +++ b/bashrc @@ -112,7 +112,7 @@ tcmp() { local -A terms=( [rxvt-unicode-256color]='rxvt-unicode' [st-256color]='xterm-256color' - [tmux-256color]='screen-256color' + [tmux-256color]='screen.xterm-new' ) TERM="${terms[$TERM]:-$TERM}" "$@" } diff --git a/tmux.conf b/tmux.conf index b7b67a7..b5eac1c 100644 --- a/tmux.conf +++ b/tmux.conf @@ -9,7 +9,7 @@ bind > resize-pane -R 5 bind - resize-pane -D 5 bind + resize-pane -U 5 bind e choose-session -bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'TERM=screen-256color ssh %%'" +bind p command-prompt -p "ssh:" "new-session -As 'ssh'; new-window -n '%1' 'TERM=screen.xterm-new ssh %%'" bind t command-prompt -p "attach pane to:" "join-pane -t :'%%'" bind y command-prompt break-pane bind -n M-w next-window diff --git a/zshrc b/zshrc index 2807391..b81f3b2 100644 --- a/zshrc +++ b/zshrc @@ -205,7 +205,7 @@ tcmp() { local -A terms=( 'rxvt-unicode-256color' 'rxvt-unicode' 'st-256color' 'xterm-256color' - 'tmux-256color' 'screen-256color' + 'tmux-256color' 'screen.xterm-new' ) TERM=${terms[$TERM]:-$TERM} "$@" }