tmux: add ref
This commit is contained in:
parent
e14c0eeef2
commit
ec99003a6f
|
@ -11,6 +11,10 @@ bind a send-prefix
|
||||||
# https://wiki.archlinux.org/index.php/Tmux#Start_a_non-login_shell
|
# https://wiki.archlinux.org/index.php/Tmux#Start_a_non-login_shell
|
||||||
set -g default-command "${SHELL}"
|
set -g default-command "${SHELL}"
|
||||||
|
|
||||||
|
# set default term to 256 colors
|
||||||
|
#set -g default-terminal "tmux-255color"
|
||||||
|
set -g default-terminal "screen"
|
||||||
|
|
||||||
# open pane/window in same directory
|
# open pane/window in same directory
|
||||||
# https://unix.stackexchange.com/questions/12032/create-new-window-with-current-directory-in-tmux
|
# https://unix.stackexchange.com/questions/12032/create-new-window-with-current-directory-in-tmux
|
||||||
bind '"' split-window -c "#{pane_current_path}"
|
bind '"' split-window -c "#{pane_current_path}"
|
||||||
|
@ -26,4 +30,5 @@ bind C-a last-pane
|
||||||
bind r source-file /home/patrick/.tmux.conf \; display-message ".tmux.conf reloaded"
|
bind r source-file /home/patrick/.tmux.conf \; display-message ".tmux.conf reloaded"
|
||||||
|
|
||||||
# automatic update env for ssh-agent
|
# automatic update env for ssh-agent
|
||||||
|
# https://stackoverflow.com/questions/21378569/how-to-auto-update-ssh-agent-environment-variables-when-attaching-to-existing-tm
|
||||||
set-option -g update-environment SSH_AUTH_SOCK
|
set-option -g update-environment SSH_AUTH_SOCK
|
||||||
|
|
Loading…
Reference in New Issue