Skip to content
My Neovim configs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload
colors
nvim-backups
nvim-swaps
nvim-undos
nvim-views
site/spell
.editorconfig
.gitattributes
.gitignore
.gvimrc
README.md
bootstrap.ps1
bootstrap.sh
init.vim

README.md

My Neovim Config!

On Linux

  1. git clone https://github.com/robert-claypool/nvim

  2. Install vim-plug

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

  2. Open Neovim and run :PlugInstall.

On Windows

  1. git clone https://github.com/robert-claypool/nvim

  2. Open PowerShell, run ./bootstrap.ps1

  3. Install vim-plug

$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"
  )
)
  1. Open Neovim and run :PlugInstall.

If Neovim gives you a TSOnBufEnter error, then run :UpdateRemotePlugins, see https://github.com/mhartington/nvim-typescript/issues/50

External Dependencies

Prettier is awesome. Install it with npm install -g prettier.

In Visual mode,

  • <localleader>=j calls Prettier for JavaScript
  • <localleader>=t calls Prettier for TypeScript
  • <localleader>=s calls Prettier for JSON (jSon)
  • <localleader>=c calls Prettier for PostCSS (CSS/SASS/LESS)
  • <localleader>=m calls Prettier for Markdown
You can’t perform that action at this time.