Merge pull request #927 from alexandregv/tmux-bind-name

Add bind name in tmux.md
This commit is contained in:
Denis Isidoro 2025-01-18 07:32:43 -03:00 committed by GitHub
commit 3381c4db6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ You can use **navi** as a [Tmux](https://github.com/tmux/tmux/wiki) widget to re
Add these lines to your Tmux config file to access **navi** by pressing `prefix + C-g`.
```sh
bind-key -T prefix C-g split-window \
bind-key -N "Open Navi (cheat sheets)" -T prefix C-g 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'"
```