diff options
Diffstat (limited to '.vifm')
-rwxr-xr-x | .vifm/scripts/bootstrap.sh | 18 | ||||
-rw-r--r-- | .vifm/vifmrc | 2 |
2 files changed, 1 insertions, 19 deletions
diff --git a/.vifm/scripts/bootstrap.sh b/.vifm/scripts/bootstrap.sh deleted file mode 100755 index 422809c..0000000 --- a/.vifm/scripts/bootstrap.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# Create tmuxinator project if it doesn't exist and run it - -ROOT=$1 -NAME=$(basename $1) -CONFIG_DIR=~/.config/tmuxinator -CONFIG=$CONFIG_DIR/$NAME.yml - -if [ -f $CONFIG ]; then - echo 'Project already exists' -else - echo name: $NAME >> $CONFIG - echo root: $ROOT >> $CONFIG - cat $CONFIG_DIR/.template.yml >> $CONFIG -fi - -tmuxinator start $NAME - diff --git a/.vifm/vifmrc b/.vifm/vifmrc index 4aeb9bd..b205476 100644 --- a/.vifm/vifmrc +++ b/.vifm/vifmrc @@ -141,7 +141,7 @@ command! make !!make %a command! mkcd :mkdir %a | cd %a command! vgrep vim "+grep %a" command! reload :write | restart -command! w :!bootstrap.sh %d/%c +command! w :!tmuxinator start -p=$HOME/.config/tmuxinator/.template.yml name=%c root=%d/%c " ------------------------------------------------------------------------------ |