Update tmux.md

Fix the tmux command
This commit is contained in:
Tao Huang 2023-05-11 19:58:55 -04:00 committed by GitHub
parent 6f316ec7eb
commit 6d1e91bcbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ Add these lines to your Tmux config file to access **navi** by pressing `prefix
```sh
bind-key -T prefix C-g split-window \
"$SHELL --login -i -c 'navi --print | head -c -1 | tmux load-buffer -b tmp - ; tmux paste-buffer -p -t {last} -b tmp -d'"
"$SHELL --login -i -c 'navi --print | head -n 1 | tmux load-buffer -b tmp - ; tmux paste-buffer -p -t {last} -b tmp -d'"
```
Example cheatsheet: