Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install and use neovim by default #186

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/common/applications-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ brew cask install skype

# Text Editors

brew install neovim
brew cask install macdown
brew cask install sublime-text
brew cask install textmate
Expand Down
3 changes: 3 additions & 0 deletions scripts/common/configurations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ if [ ! -d ~/.vim ]; then
fi
popd

echo
echo "Aliasing vim to neovim"
alias vim=nvim

2 changes: 1 addition & 1 deletion scripts/common/git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ cp files/.pairs ~/.pairs

echo
echo "Setting global Git configurations"
git config --global core.editor /usr/bin/vim
git config --global core.editor /usr/local/bin/nvim
git config --global transfer.fsckobjects true
6 changes: 3 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ brew cask install github
brew cask install virtualbox
brew cask install zoomus

source ${MY_DIR}/scripts/common/git.sh
source ${MY_DIR}/scripts/common/git-aliases.sh
source ${MY_DIR}/scripts/common/cloud-foundry.sh
source ${MY_DIR}/scripts/common/applications-common.sh
source ${MY_DIR}/scripts/common/unix.sh
source ${MY_DIR}/scripts/common/git.sh
source ${MY_DIR}/scripts/common/git-aliases.sh
source ${MY_DIR}/scripts/common/configuration-osx.sh
source ${MY_DIR}/scripts/common/configurations.sh
source ${MY_DIR}/scripts/common/cloud-foundry.sh

# For each command line argument, try executing the corresponding script in opt-in/
for var in "$@"
Expand Down