mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
Merge pull request #927 from alexandregv/tmux-bind-name
Add bind name in tmux.md
This commit is contained in:
commit
3381c4db6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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'"
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue