Tmux Lemonade

This commit is contained in:
Christian Nieves
2023-10-12 20:34:24 +00:00
parent 41717501ec
commit 35d0bea232
5 changed files with 27 additions and 23 deletions

View File

@ -68,14 +68,11 @@ setw -g mode-keys vi
# Setup 'v' to begin selection as in Vim
bind-key -T copy-mode-vi 'v' send -X begin-selection
set -g @yank_action 'copy-pipe' # or 'copy-pipe-and-cancel' for the default
set -g @override_copy_command 'lemonade copy'
# transfer copied text to attached terminal with yank
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}'
# 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 -T copy-mode-vi C-c send -X copy-pipe-no-clear "lemonade copy"
# allowd pane-navigation while in copy-mode
bind-key -T copy-mode-vi C-h select-pane -L
@ -140,8 +137,6 @@ set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
set -g @resurrect-dir '$HOME/.tmux/resurrect'
#set -g @plugin 'odedlaz/tmux-onedark-theme'
set -g @catppuccin_flavour 'macchiato' # or frappe, macchiato, mocha
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)