From 312cbf0a08cd42e60e83588528af863078c1b1a6 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jul 2018 11:36:23 -0400 Subject: [PATCH] Updated for kali --- .tmux.conf | 3 ++- .tmux.conf.local | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 045cf0f..0a54e00 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -135,7 +135,8 @@ run -b 'tmux bind -T copy-mode-vi v send -X begin-selection 2> /dev/null || true run -b 'tmux bind -t vi-copy C-v rectangle-toggle 2> /dev/null || true' run -b 'tmux bind -T copy-mode-vi C-v send -X rectangle-toggle 2> /dev/null || true' run -b 'tmux bind -t vi-copy y copy-selection 2> /dev/null || true' -run -b 'tmux bind -T copy-mode-vi y send -X copy-selection-and-cancel 2> /dev/null || true' +#run -b 'tmux bind -T copy-mode-vi y send -X copy-selection-and-cancel 2> /dev/null || true'a +run -b 'tmux bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" 2> /dev/null || true' run -b 'tmux bind -t vi-copy Escape cancel 2> /dev/null || true' run -b 'tmux bind -T copy-mode-vi Escape send -X cancel 2> /dev/null || true' run -b 'tmux bind -t vi-copy H start-of-line 2> /dev/null || true' diff --git a/.tmux.conf.local b/.tmux.conf.local index ae45b07..5e22663 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -254,7 +254,7 @@ tmux_conf_copy_to_os_clipboard=false # force Vi mode # really you should export VISUAL or EDITOR environment variable, see manual #set -g status-keys vi -#set -g mode-keys vi +set -g mode-keys vi # replace C-b by C-a instead of using both prefixes # set -gu prefix2