Skip to content

Commit

Permalink
Add key notes for better <prefix> ? help text
Browse files Browse the repository at this point in the history
Slightly better version of PR tmux-plugins#454 by @eggbean.
  • Loading branch information
dex6 committed May 31, 2024
1 parent 85d86ce commit 1da448f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resurrect.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set_save_bindings() {
local key
for key in $key_bindings; do
tmux bind-key "$key" run-shell "$CURRENT_DIR/scripts/save.sh"
tmux bind-key -N "[$(basename "$CURRENT_DIR")] Save sessions" "$key"
done
}

Expand All @@ -18,6 +19,7 @@ set_restore_bindings() {
local key
for key in $key_bindings; do
tmux bind-key "$key" run-shell "$CURRENT_DIR/scripts/restore.sh"
tmux bind-key -N "[$(basename "$CURRENT_DIR")] Restore sessions" "$key"
done
}

Expand Down

0 comments on commit 1da448f

Please sign in to comment.