buffergator hotkey for vim + C-Space switch for tmux
This commit is contained in:
parent
194955ab3d
commit
c883b0747d
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
# vim: ft=tmux
|
# 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 r source-file /home/von/.tmux.conf\; display-message "Config reloaded."
|
||||||
bind s split-window -v
|
bind s split-window -v
|
||||||
bind v split-window -h
|
bind v split-window -h
|
||||||
|
@ -13,7 +16,6 @@ bind + resize-pane -U 5
|
||||||
bind e choose-session
|
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 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 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-w next-window
|
||||||
bind -n M-q previous-window
|
bind -n M-q previous-window
|
||||||
bind -n M-` last-window
|
bind -n M-` last-window
|
||||||
|
|
3
vimrc
3
vimrc
|
@ -107,6 +107,9 @@ if v:version >= 703
|
||||||
" nerdtree options
|
" nerdtree options
|
||||||
let NERDTreeDirArrows=0
|
let NERDTreeDirArrows=0
|
||||||
map <C-W>. :NERDTreeToggle<cr>
|
map <C-W>. :NERDTreeToggle<cr>
|
||||||
|
|
||||||
|
" buffergator options
|
||||||
|
map <C-W>, :BuffergatorToggle<cr>
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue