Skip to content

Commit

Permalink
docs: add documentation for -A flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaitanyabsprip committed Jun 6, 2024
1 parent 8a78646 commit 504afb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions harpoon
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ help() {
echo " ${0##*/} [options] [args]"
echo "Options:"
echo " -a Track current tmux session"
echo " -A Track pane within current tmux session"
echo " -r [session_name] Stop tracking session with session name. If"
echo " session_name is not passed then remove current session"
echo " -l List tracked sessions"
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Usage:
harpoon [options] [args]
Options:
-a Track current tmux session
-A Track pane within current tmux session
-r [session_name] Stop tracking session with session name. If
session_name is not passed then remove current session
-l List tracked sessions
Expand All @@ -38,6 +39,7 @@ with tmux.

```conf
bind -n M-b run 'harpoon -a'
bind -n . run 'harpoon -A'
bind -n M-v run 'harpoon -l'
bind -n M-i run 'harpoon -e'
bind -n M-n run 'harpoon -s 1'
Expand Down

0 comments on commit 504afb1

Please sign in to comment.