Skip to content

Latest commit

 

History

History
executable file
·
50 lines (35 loc) · 1.2 KB

README.md

File metadata and controls

executable file
·
50 lines (35 loc) · 1.2 KB

Instructions to apply this repo after cloning

Run all the following command from this repo directory

Neovim

  1. Install Neovim

    For centos: sudo yum install -y neovim

    For MacOS: brew install neovim

  2. Link the neovim setting and .vimrc

    mkdir -p ~/.config/nvim
    ln -s $PWD/.vimrc ~/.vimrc
    ln -s $PWD/.config/nvim/init.vim ~/.config/nvim/init.vim
    
  3. Install Vim-plug

    curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

  4. Install neovim plugins

    In nvim window

    :PlugInstall
    :UpdateRemotePlugins
    
  5. Restart neovim

VimR

Only applies to MacOS Download latest vimr release from https://github.com/qvacua/vimr/releases and copy that into /Applications

bash alias

echo "source $PWD/alias_setup.sh" >> ~/.bashrc

git alias

bash $PWD/git_alias_setup.sh

Zsh and Oh My Zsh

sudo yum install -y zsh sudo chsh -s /bin/zsh centos wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh cd $HOME && rm .zshrc && ln -s $HOME/worksetup_public/.zshrc

For MacOS:

brew install grep for GNU grep instead of BSD grep