Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.24 KB

README.md

File metadata and controls

52 lines (44 loc) · 1.24 KB

dotFiles

Color scheme Setting

iTerm2

安裝 homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安裝 xcode compiler

xcode-select --install

安裝 neovim

brew install neovim
pip3 install neovim

安裝 neovim plugin by VimPlug

curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
cp init.vim ~/.config/nvim/init.vim # download init.vim from this repo
vim
:PlugInstall

建立 Symbolic link

brew uninstall vim
ln /usr/local/bin/nvim /usr/local/bin/vim
mv ~/.vim ~/.old.vim
mv ~/.vimrc ~/.old.vimrc
ln -s ~/.config/nvim ~/.vim
ln -s ~/.config/nvim/init.vim ~/.vimrc

git config

git config --global core.editor /usr/local/bin/nvim

參考: