From 9b266a08d4160b7796ced45b1df954c0f7bab16c Mon Sep 17 00:00:00 2001 From: Yax Date: Fri, 24 Apr 2026 09:05:35 +0200 Subject: [PATCH] Plugin tmux-tpad --- dot_tmux.conf.tmpl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dot_tmux.conf.tmpl b/dot_tmux.conf.tmpl index 1077afc..75a4b78 100644 --- a/dot_tmux.conf.tmpl +++ b/dot_tmux.conf.tmpl @@ -110,9 +110,6 @@ bind-key M-2 send-keys "$FAVORITE_COMMAND2" bind-key M-3 send-keys "$FAVORITE_COMMAND3" bind-key M-4 send-keys "$FAVORITE_COMMAND4" -# disposable terminal -bind-key + display-popup -E -w 80% -h 80% "tmux kill-session -t popup 2>/dev/null || true; tmux new-session -d -s popup -c '#{pane_current_path}' \\; set-option -t popup detach-on-destroy on \\; attach -t popup" - # sesh bind-key "s" run-shell "sesh connect \"$( sesh list --icons | fzf-tmux -p 80%,70% \ @@ -144,6 +141,12 @@ set -g @powerkit_plugin_ssh_format 'indicator' set -g @powerkit_plugin_memory_show_only_on_threshold 'true' set -g @powerkit_plugin_memory_cache_ttl '20' +# plugin tpad +set -g @tpad-scratch-bind "C-p" +set -g @tpad-scratch-opts "status on" +set -g @tpad-scratch-dir "#{pane_current_path}" +set -g @tpad-scratch-width "70%" +set -g @tpad-scratch-height "70%" # Plugins set -g @plugin 'tmux-plugins/tpm' @@ -154,6 +157,9 @@ set -g @plugin 'azorng/tmux-smooth-scroll' set -g @grep-key '@' set -g @plugin 'cookiecad/tmux-grep' +# tmux-tpad +set -g @plugin 'Subbeh/tmux-tpad' + if "test ! -d ~/.tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"