This commit is contained in:
Christian Nieves
2023-07-12 15:41:07 -05:00
parent 3c5764912d
commit 59dd0ac598
21 changed files with 294 additions and 139 deletions

View File

@ -74,14 +74,8 @@ bind-key -Tcopy-mode-vi 'v' send -X begin-selection
# transfer copied text to attached terminal with yank
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}'
# transfer most-recently copied text to attached terminal with yank
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}"'
# # transfer copied text to attached terminal with yank
# bind-key -T copy-mode-vi Y send-keys -X copy-pipe 'yank > #{pane_tty}'
# Bind ']' to use pbpaste
#bind ] run "pbpaste | tmux load-buffer - && tmux paste-buffer"
@ -123,7 +117,7 @@ bind-key -n C-S-Right swap-window -t +1\; select-window -t +1
bind-key -r < swap-window -t -1\; select-window -t -1
bind-key -r > swap-window -t +1\; select-window -t +1
# loop through current window's panes while zoomed
# loop through current window's panes while zoomed
bind -r "'" select-pane -t .+1 \; resize-pane -Z
bind -r ";" select-pane -t .-1 \; resize-pane -Z