projects
/
~madcoder
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vim updates
[~madcoder/dotfiles.git]
/
tmux.conf
diff --git
a/tmux.conf
b/tmux.conf
index
1e5b57d
..
8a3b02d
100644
(file)
--- a/
tmux.conf
+++ b/
tmux.conf
@@
-3,9
+3,12
@@
set -g default-terminal screen-256color
set -g history-limit 100000
set -g mouse-select-pane on
set -g default-terminal screen-256color
set -g history-limit 100000
set -g mouse-select-pane on
-setw -g mode-mouse on
+set -g mouse-resize-pane on
+set -wg mode-mouse on
+set -g mouse-utf8 on
+set -wg xterm-keys 1
set -g status-keys vi
set -g status-keys vi
-set
w -
g mode-keys vi
+set
-w
g mode-keys vi
set -s escape-time 100
unbind C-b
set -s escape-time 100
unbind C-b
@@
-14,11
+17,14
@@
bind g send-prefix
bind C-g send-prefix
bind -n F5 source ~/.tmux.conf
bind C-g send-prefix
bind -n F5 source ~/.tmux.conf
-bind -n F9 set status
bind -n M-x command-prompt
bind d detach
bind -n C-\ detach
bind -n M-x command-prompt
bind d detach
bind -n C-\ detach
+bind -n C-up resize-pane -U
+bind -n C-down resize-pane -D
+bind -n C-left resize-pane -L
+bind -n C-right resize-pane -R
bind n next-window
bind C-n next-window
bind n next-window
bind C-n next-window
@@
-36,8
+42,10
@@
bind x confirm-before kill-pane
bind ! command-prompt -p Man: "split-window 'man %%'"
bind o break-pane
bind ! command-prompt -p Man: "split-window 'man %%'"
bind o break-pane
-bind k up-pane
-bind j down-pane
+bind h select-pane -L
+bind k select-pane -U
+bind j select-pane -D
+bind l select-pane -R
bind K swap-pane -U
bind J swap-pane -D
bind i display-message \; display-panes
bind K swap-pane -U
bind J swap-pane -D
bind i display-message \; display-panes
@@
-65,6
+73,10
@@
bind -t vi-copy C-u page-up
bind -t vi-copy C-d page-down
bind -t vi-copy G bottom-line
bind -n -t vi-copy Escape cancel
bind -t vi-copy C-d page-down
bind -t vi-copy G bottom-line
bind -n -t vi-copy Escape cancel
+bind -n -t vi-copy | start-of-line
+
+bind - run-shell "tmux show-buffer | xclip"
+bind = choose-buffer "run-shell 'tmux show-buffer -b %% | xclip'"
##############################################################################
# Edit mode
##############################################################################
# Edit mode
@@
-84,7
+96,7
@@
bind -c -t vi-edit | start-of-line
set -g visual-activity on
set -g visual-bell off
set -g bell-action any
set -g visual-activity on
set -g visual-bell off
set -g bell-action any
-set
w -
g monitor-activity off
+set
-w
g monitor-activity off
##############################################################################
# Theme
##############################################################################
# Theme
@@
-104,12
+116,12
@@
set -g message-bg red
set -g message-attr bright
# default window title colors
set -g message-attr bright
# default window title colors
-set
w -
g window-status-fg white
-set
w -
g window-status-bg default
-set
w -
g window-status-attr dim
+set
-w
g window-status-fg white
+set
-w
g window-status-bg default
+set
-w
g window-status-attr dim
-set
w -
g window-status-format '#I #W#F'
-set
w -
g window-status-current-format '#[fg=red,nobold][#[fg=white,bold]#I #W#F#[fg=red,nobold]]'
+set
-w
g window-status-format '#I #W#F'
+set
-w
g window-status-current-format '#[fg=red,nobold][#[fg=white,bold]#I #W#F#[fg=red,nobold]]'
set -g pane-border-bg default
set -g pane-border-fg default
set -g pane-border-bg default
set -g pane-border-fg default
@@
-117,6
+129,6
@@
set -g pane-active-border-bg default
set -g pane-active-border-fg red
# active window title colors
set -g pane-active-border-fg red
# active window title colors
-set
w -
g window-status-current-fg white
-set
w -
g window-status-current-bg default
-set
w -
g window-status-current-attr bright
+set
-w
g window-status-current-fg white
+set
-w
g window-status-current-bg default
+set
-w
g window-status-current-attr bright