Skip to content

Commit

Permalink
Neovim default
Browse files Browse the repository at this point in the history
  • Loading branch information
athal7 committed Jun 6, 2017
1 parent a002078 commit 7f8692d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .init.vim
@@ -0,0 +1,3 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
4 changes: 2 additions & 2 deletions .zshrc
Expand Up @@ -27,7 +27,7 @@
# terminal color settings
CLICOLOR=1
export TERM=xterm-256color
export EDITOR="vim"
export EDITOR="nvim"

BLACK="\[\033[0;30m\]"
RED="\[\033[0;31m\]"
Expand All @@ -50,7 +50,7 @@

# shell aliases
alias ll="ls -la"
alias e='vim'
alias e=$EDITOR
alias less="less -R"
alias lf="less +F"
alias g='hub'
Expand Down
8 changes: 8 additions & 0 deletions Rakefile
Expand Up @@ -10,6 +10,7 @@ module AT
setup_default_shell
sync_submodules
setup_symlinks
setup_nvim
install_homebrew_packages
install_apps
install_language_versions
Expand Down Expand Up @@ -42,6 +43,13 @@ module AT
end
end

def setup_nvim
message "Setting up nvim..."
with_log("mkdir -p #{@location}/.config/nvim")
with_log("rm -rf #{@location}/.config/nvim/init.vim")
with_log("ln -s #{Dir.pwd}/.init.vim #{@location}/.config/nvim/init.vim")
end

def install_homebrew_packages
if with_log("brew info")
message "Installing homebrew packages..."
Expand Down
1 change: 1 addition & 0 deletions install.yml
Expand Up @@ -17,6 +17,7 @@ homebrew_packages:
- hub
- kubectl
- mailplane
- neovim/neovim/neovim
- nvm
- pgcli
- pyenv
Expand Down

0 comments on commit 7f8692d

Please sign in to comment.