diff options
author | Tao Huang <countcainht@gmail.com> | 2023-05-11 19:58:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 19:58:55 -0400 |
commit | 6d1e91bcbdda2c18e2ef97cfc7a636d038874c4d (patch) | |
tree | d0f33f954e496068db6a0d25edbb320dfd108da0 | |
parent | 6f316ec7eb2f1f56a7609048e67860eb84c1aacf (diff) |
Update tmux.md
Fix the tmux command
-rw-r--r-- | docs/tmux.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tmux.md b/docs/tmux.md index 8263010..415f3a9 100644 --- a/docs/tmux.md +++ b/docs/tmux.md @@ -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: |