From 6f5d14f372783feb7bee89cf57856ffadb206518 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Thu, 1 Sep 2016 10:11:55 +0200 Subject: [PATCH] [vim/tmux]works together --- .tmux.conf | 2 ++ .vimrc | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 1c37a0f..b74c010 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -51,6 +51,8 @@ set-option -g visual-bell on #bind-key -t vi-copy PPage page-up #bind-key -t vi-copy NPage page-down +set-window-option -g xterm-keys on + set -g mouse on bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" bind -n WheelDownPane select-pane -t= \; send-keys -M diff --git a/.vimrc b/.vimrc index 5936f65..f9d0659 100644 --- a/.vimrc +++ b/.vimrc @@ -561,4 +561,7 @@ Plugin 'gregkh/kernel-coding-style.git' " Web browsing Plugin 'yuratomo/w3m.vim' + +" Recognize Key in screen/tmux +Plugin 'drmikehenry/vim-fixkey' call vundle#end()