From 2a21cdcaf3573e1ce45d0a47d24f7fd588ad408e Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sat, 8 Feb 2025 23:38:13 +0100 Subject: [PATCH] Update home/.tmux.conf.local --- home/dot_tmux.conf.local | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/dot_tmux.conf.local b/home/dot_tmux.conf.local index 6f40b1e..8a4066c 100644 --- a/home/dot_tmux.conf.local +++ b/home/dot_tmux.conf.local @@ -31,6 +31,10 @@ bind-key -n End send Escape "OF" # move status line to top # set -g status-right '%Y-%m-%d %H:%M #{tmux_mode_indicator}' +# start navi as a widget +bind-key -N "Open Navi (cheat sheets)" -T prefix C-n split-window \ + "$SHELL --login -i -c 'navi --print | head -n 1 | tmux load-buffer -b tmp - ; tmux paste-buffer -p -t {last} -b tmp -d'" + # -- plugins configuration ----------------------------------------------------- # set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins'