mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-10-31 15:18:52 +00:00
Add key binding descriptions
These can descriptions can be viewed using `<prefix>-?` (under the default binding).
This commit is contained in:
parent
60a36d6f7a
commit
c288d90640
6
tpm
6
tpm
@ -58,13 +58,13 @@ source_plugins() {
|
||||
# prefix + alt + u - remove unused TPM plugins and reloads TMUX environment
|
||||
set_tpm_key_bindings() {
|
||||
local install_key="$(get_tmux_option "$install_key_option" "$default_install_key")"
|
||||
tmux bind-key "$install_key" run-shell "$BINDINGS_DIR/install_plugins"
|
||||
tmux bind-key -N 'Install tpm-managed plugins' "$install_key" run-shell "$BINDINGS_DIR/install_plugins"
|
||||
|
||||
local update_key="$(get_tmux_option "$update_key_option" "$default_update_key")"
|
||||
tmux bind-key "$update_key" run-shell "$BINDINGS_DIR/update_plugins"
|
||||
tmux bind-key -N 'Update tpm-managed plugins' "$update_key" run-shell "$BINDINGS_DIR/update_plugins"
|
||||
|
||||
local clean_key="$(get_tmux_option "$clean_key_option" "$default_clean_key")"
|
||||
tmux bind-key "$clean_key" run-shell "$BINDINGS_DIR/clean_plugins"
|
||||
tmux bind-key -N 'Remove plugins not listed in .tmux.conf' "$clean_key" run-shell "$BINDINGS_DIR/clean_plugins"
|
||||
}
|
||||
|
||||
supported_tmux_version_ok() {
|
||||
|
Loading…
Reference in New Issue
Block a user