From c883b0747d053e0fed89334adfd23d9b65fc8d52 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 18 Nov 2014 13:07:11 +0300 Subject: [PATCH] buffergator hotkey for vim + C-Space switch for tmux --- tmux.conf | 4 +++- vimrc | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index bc3713e..f5fc266 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,4 +1,7 @@ # vim: ft=tmux +unbind C-b +set -g prefix C-Space +bind C-Space send-prefix bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded." bind s split-window -v bind v split-window -h @@ -13,7 +16,6 @@ bind + resize-pane -U 5 bind e choose-session bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-option -g mouse-select-window on\; set-option -g mouse-resize-pane on\; display-message "mouse mode ON" bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF" -bind -n C-a display-message "Powered by tmux!" bind -n M-w next-window bind -n M-q previous-window bind -n M-` last-window diff --git a/vimrc b/vimrc index 762a82b..24a39d0 100644 --- a/vimrc +++ b/vimrc @@ -107,6 +107,9 @@ if v:version >= 703 " nerdtree options let NERDTreeDirArrows=0 map . :NERDTreeToggle + + " buffergator options + map , :BuffergatorToggle endif endif