diff --git a/home/.tmux.conf b/home/.tmux.conf index 2d4ebb2..cee0ca1 100644 --- a/home/.tmux.conf +++ b/home/.tmux.conf @@ -15,14 +15,14 @@ bind | split-window -h unbind - bind - split-window -v -# more ergnomic window and pane numbers +# more ergnomic window numbers set -g base-index 1 setw -g pane-base-index 1 # vim bindings in copy mode -bind-key -T copy-mode-vi v send -X begin-selection -bind-key -T copy-mode-vi y send -X copy-selection -bind-key -T copy-mode-vi p send -X paste-buffer +# HOWTO: PREFIX+[, v, select text, y, PREFIX+] +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel # enable mouse set -g mouse on