Add tmux note to keybinding for list-keys

pull/454/head
eggbean 2022-09-20 20:03:21 +01:00
parent 75458f91c8
commit a360a3a7b7
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ set_save_bindings() {
local key_bindings=$(get_tmux_option "$save_option" "$default_save_key")
local key
for key in $key_bindings; do
tmux bind-key "$key" run-shell "$CURRENT_DIR/scripts/save.sh"
tmux bind-key -N "Save session" "$key" run-shell "$CURRENT_DIR/scripts/save.sh"
done
}
@ -17,7 +17,7 @@ set_restore_bindings() {
local key_bindings=$(get_tmux_option "$restore_option" "$default_restore_key")
local key
for key in $key_bindings; do
tmux bind-key "$key" run-shell "$CURRENT_DIR/scripts/restore.sh"
tmux bind-key -N "Restore session" "$key" run-shell "$CURRENT_DIR/scripts/restore.sh"
done
}