Browse Source

add my tmux conf

main
John-Mark Gurney 1 month ago
parent
commit
218475224e
1 changed files with 25 additions and 0 deletions
  1. +25
    -0
      rc/tmux.conf

+ 25
- 0
rc/tmux.conf View File

@@ -0,0 +1,25 @@
# macosx tmux doesn't support reverse video for nvi
# https://github.com/tmux/tmux/issues/2262
set -g default-terminal "xterm-256color"

unbind C-b
set -g prefix C-a
bind C-a send-prefix

bind ^L refresh-client
set-window-option -g mode-keys vi

bind < resize-pane -L 4
bind > resize-pane -R 4
bind - resize-pane -D 4
bind + resize-pane -U 4

set -g mode-mouse off
set -g mouse-resize-pane off
set -g mouse-select-pane off
set -g mouse-select-window off

bind k select-pane -U
bind j select-pane -D
bind h select-pane -L
bind l select-pane -R

Loading…
Cancel
Save