Skip to content

Commit

Permalink
Split out Vim step in install
Browse files Browse the repository at this point in the history
  • Loading branch information
bobwhitelock committed Jun 20, 2020
1 parent 3a5cdd8 commit 162093d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ main() {
fi

header 'Setting up Vim'
run mkdir -p vim/{session,undodir,view}
run "vim +':PlugInstall | :PlugUpdate | :qa!'"
setup_vim

header 'Setting up Tmux'
run ~/.tmux/plugins/tpm/bin/install_plugins
Expand Down Expand Up @@ -76,6 +75,11 @@ install_dependencies() {
run gem install tmuxinator
}

setup_vim() {
run mkdir -p vim/{session,undodir,view}
run "vim +':PlugInstall | :PlugUpdate | :qa!'"
}

link_files() {
# XXX Move doing all this into `install.conf.yaml`?

Expand Down

0 comments on commit 162093d

Please sign in to comment.