Skip to content

Commit

Permalink
Upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kislyuk committed Jul 16, 2015
1 parent fb6c583 commit 5b93bf8
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions tmux2.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#### COLOUR (Solarized 256)

set -g default-terminal "screen-256color"
set-option -g default-terminal screen-256color
#set -g default-terminal "screen-256color"
set -g history-limit 15000

setw -g xterm-keys on
Expand Down Expand Up @@ -73,8 +73,9 @@ bind - split-window -v
setw -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'C-v' rectangle-toggle

bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
bind-key -t vi-copy 'y' copy-selection
#bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
bind C-y run-shell "tmux show-buffer | xclip -sel clip -i"

# set window list colors - red for active and cyan for inactive
set-window-option -g window-status-fg brightblue #base0
Expand All @@ -86,7 +87,12 @@ set-window-option -g window-status-current-bg colour236
set-window-option -g window-status-current-attr bright


bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard'

bind p paste-buffer # `prefix + p` pastes the latest buffer
# in copy mode…

# Update default binding of `Enter` to also use copy-pipe
#unbind -t vi-copy Enter
# bind -t vi-copy Enter
#bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"toggle

0 comments on commit 5b93bf8

Please sign in to comment.