Move key binding to the main file

pull/14/head
Bruno Sutic 9 years ago
parent 1f7e58f3a7
commit 86b5c3ab7e
  1. 1
      CHANGELOG.md
  2. 6
      scripts/key_binding.sh
  3. 2
      tpm

@ -7,6 +7,7 @@
- update README to suggest different first plugin
- update list of plugins in the README
- remove README 'about' section
- move key binding to the main file. Delete `key_binding.sh`.
### v0.0.2, 2014-07-17
- run all *.tmux plugin files as executables

@ -1,6 +0,0 @@
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# (I)nstalls all plugins
tmux bind-key I run-shell "$CURRENT_DIR/sync_plugins.sh >/dev/null 2>&1"

2
tpm

@ -26,7 +26,7 @@ source_plugins() {
# Defines key binding:
# prefix + I - downloads TPM plugins and reloads TMUX environment.
set_tpm_key_binding() {
$CURRENT_DIR/scripts/key_binding.sh
tmux bind-key I run-shell "$CURRENT_DIR/scripts/sync_plugins.sh >/dev/null 2>&1"
}
supported_tmux_version_ok() {

Loading…
Cancel
Save