Last active
January 14, 2020 06:54
-
-
Save brianjp93/6a0b60945a60052199c334290f0ffc57 to your computer and use it in GitHub Desktop.
how to setup env for vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 3. download .vimrc from gist | |
> curl -o ~/.vimrc https://gist.githubusercontent.com/brianjp93/5390b9e72849e213c9a0d3c85bf03935/raw/.vimrc | |
# 2. download git | |
> brew install git | |
or | |
> sudo [apt, apt-get, brew, yum] install git | |
# 3. install node | |
-- you may need to add the node repo | |
> curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash - | |
-- then install | |
> sudo [apt-get, apt, brew, yum] install nodejs | |
# 4. install vim-plug NEOVIM | |
- windows powershell | |
md ~\AppData\Local\nvim\autoload | |
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | |
(New-Object Net.WebClient).DownloadFile( | |
$uri, | |
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath( | |
"~\AppData\Local\nvim\autoload\plug.vim" | |
) | |
) | |
- unix | |
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
# 5. install plugins | |
> vim | |
> :PlugInstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment