improve upon std tmux clipboard with extrakto and add tmux-menus for help with advanced feature discovery and use

This commit is contained in:
KemoNine 2022-05-22 12:39:46 -04:00
parent 206cee0880
commit c75fe96e9f
2 changed files with 26 additions and 1 deletions

View File

@ -26,6 +26,12 @@ ln -s $PATH_PREFIX/fzf.zsh ~/.fzf.zsh
rm -r ~/.config/lf
ln -s $PATH_PREFIX/config/lf ~/.config/lf
# get tmux plugin manager going if needed
if [[ ! -d ~/.tmux/plugins/tpm ]]; then
mkdir -p ~/.tmux/plugins/tpm
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
fi
# get asdf going if needed
if [[ ! -d ~/.asdf ]]; then
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
@ -34,5 +40,6 @@ if [[ ! -d ~/.asdf ]]; then
cd $PATH_PREFIX
fi
echo "install 'exa fd bat tmux htop nano most ripgrep emacs zsh lf restic rclone' if needed"
echo "exa fd bat tmux htop nano most ripgrep emacs zsh lf restic rclone"
echo "copy restic.sh if desired/needed"
echo "run tmux and do <prefix>-I to install plugins and finish setup"

View File

@ -5,6 +5,9 @@ set -g history-limit 100000
set -g renumber-windows on
set -g clock-mode-style 24
set -g status-interval 5
set -g display-time 3000
set -g status-keys emacs
setw -g aggressive-resize on
# Enable RGB colour if running in xterm(1)
set-option -sa terminal-overrides ",xterm*:Tc"
@ -35,3 +38,18 @@ set -g status-bg yellow
# Status line/bar
set -g status-right " #{?client_prefix,#[reverse]<Prefix>#[noreverse] ,} %H:%M %Y-%m-%d"
set -g window-status-current-style "underscore"
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'laktak/extrakto'
set -g @plugin 'jaclu/tmux-menus'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
# plugin config
# clipboard related
set -g @extrakto_clip_tool 'tmux loadb -'
if 'command -v termux-clipboard-set' {
set -g @extrakto_clip_tool termux-clipboard-set
}