- Install neovim and termial tool:
brew install neovim fzf fd lazygit the_silver_searcher python3
- Install vim-plugins :
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
Use this command to fix if the termial complains the network issue:
echo "199.232.28.133 raw.githubusercontent.com" >> /etc/hosts
- Install ranger:
pip3 install ranger-fm pynvim
- Replace the vim setting file and ranger-setting file
-
Copy the
init.vim
andcoc-setting.json
to the~/.config/nvim
-
Copy the
ranger
floder to the~./config
- Install Vim Plugins and Coc plugins
Go into the nvim editor and switch to the command mode:
//Install vim plugins
:PluginsIntall
//Install the coc plugin
:CocInstall coc-rust-analyzer coc-snippets coc-git coc-floaterm