bleh
This commit is contained in:
@ -69,17 +69,16 @@ set -s set-clipboard on
|
||||
setw -g mode-keys vi
|
||||
|
||||
# Setup 'v' to begin selection as in Vim
|
||||
bind-key -Tcopy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
|
||||
# bind-key -T copy-mode-vi y send-keys -X copy-pipe 'yank > #{pane_tty}'
|
||||
# transfer copied text to attached terminal with yank
|
||||
bind-key -T copy-mode-vi Y send-keys -X copy-pipe 'yank > #{pane_tty}'
|
||||
bind-key -T copy-mode-vi Y send-keys -X copy-pipe 'tmux save-buffer - | yank > #{pane_tty}'
|
||||
|
||||
# transfer most-recently copied text to attached terminal with yank
|
||||
bind-key -n M-y run-shell 'tmux save-buffer - | yank > #{pane_tty}'
|
||||
# bind-key -n M-y run-shell 'tmux save-buffer - | yank > #{pane_tty}'
|
||||
|
||||
# transfer previously copied text (chosen from a menu) to attached terminal
|
||||
bind-key -n M-Y choose-buffer 'run-shell "tmux save-buffer -b \"%%%\" - | yank > #{pane_tty}"'
|
||||
# bind-key -n M-Y choose-buffer 'run-shell "tmux save-buffer -b \"%%%\" - | yank > #{pane_tty}"'
|
||||
|
||||
# allowd pane-navigation while in copy-mode
|
||||
bind-key -T copy-mode-vi C-h select-pane -L
|
||||
|
Reference in New Issue
Block a user