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'