- Homebrew Bundle
- Vim/NeoVim
- prezto
- tmux
- Windows Terminal/PowerShell
This vimrc is tested on macOS and Windows.
- Nodejs (for coc.nvim)
- Python3 (specify
pythonthreedll, pythonthreehome, etc
in./vim/vimrc
)
Recommend using Scoop
to install all kinds of this stuff on Windows.
Clone this repo to your home directory.
Source the vimrc
in your ~/.vimrc
, and you're almost all set.
On macOS use MacVim
from brew
but not from cask
. Because the cask
version is built with +python
and +python3
, which causing problems for some plugins.
vim +PlugInstall
Enjoy!
-
Source the vimrc in
~/_vimrc.
-
Paste script below in PowerShell to install vim-plug.
md ~\.vim\autoload $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' (New-Object Net.WebClient).DownloadFile( $uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath( "~\.vim\autoload\plug.vim" ) )
-
Edit the
_vimrc
to point to yourPython
installation. -
pip3 install --user pynvim
if using Neovim.
- A Nerd-Font is needed to make plugin like
vim-devicons
andvim-airline
look right. - Life is short, use coc.nvim. And make sure
python
is visible to vim on Windows. - Use Scoop to install vim and anything else on Windows.
Put settings.json
to %LOCALAPPDATA%\Packages\Microsoft. WindowsTerminal_8wekyb3d8bbwe\LocalState\