Skip to content

Commit a360a3a

Browse files
committed
Add tmux note to keybinding for list-keys
1 parent 75458f9 commit a360a3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resurrect.tmux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ set_save_bindings() {
99
local key_bindings=$(get_tmux_option "$save_option" "$default_save_key")
1010
local key
1111
for key in $key_bindings; do
12-
tmux bind-key "$key" run-shell "$CURRENT_DIR/scripts/save.sh"
12+
tmux bind-key -N "Save session" "$key" run-shell "$CURRENT_DIR/scripts/save.sh"
1313
done
1414
}
1515

1616
set_restore_bindings() {
1717
local key_bindings=$(get_tmux_option "$restore_option" "$default_restore_key")
1818
local key
1919
for key in $key_bindings; do
20-
tmux bind-key "$key" run-shell "$CURRENT_DIR/scripts/restore.sh"
20+
tmux bind-key -N "Restore session" "$key" run-shell "$CURRENT_DIR/scripts/restore.sh"
2121
done
2222
}
2323

0 commit comments

Comments
 (0)