diff --git a/.tmux.conf b/.tmux.conf index a6fb388..4e099db 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,10 +1,11 @@ ## pcht tmux configurarion # (c) 2018 -# change prefix to ctrl+a +# change prefix to ctrl+a and +# use "C-a a"to send C-a to shell unbind C-b set -g prefix C-a -bind C-a send-prefix +bind a send-prefix # disable login-shell on tmux # https://wiki.archlinux.org/index.php/Tmux#Start_a_non-login_shell @@ -13,7 +14,9 @@ set -g default-command "${SHELL}" # open pane/window in same directory # https://unix.stackexchange.com/questions/12032/create-new-window-with-current-directory-in-tmux bind '"' split-window -c "#{pane_current_path}" +bind s split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" +bind '|' split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" # last pane like in screen