Skip to content
My dotfiles
Vim script Ruby Shell
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.
deprecated
nvim
Brewfile
README.md
collect.sh
gvimrc
powerlevel9k.config
tmux.conf
vimrc
zshrc

README.md

What I use

  • Homebrew Bundle
  • spf13-vim
  • vim/NeoVim
  • oh-my-zsh
  • tmux

Vim

This vimrc is tested on macOS, gVim on Windows and Terminal Vim on WSL.

Screenshots can be found here.

macOS/Linux

Copy the vimrc to your ~/.vimrc, and you're almost all set.

Windows

  1. Copy the vimrc to ~/_vimrc.
  2. 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"
  )
)
  1. Add Python3.dll to $PATH
  2. pip3 install --user pynvim if using Neovim.
  3. Install universal-ctags.

Reminder

  • I use Sarasa-Gothic on Windows and FantasqueSansMono on macOS. A Nerd-Font is needed to make plugin like vim-devicons and vim-airline look right.
  • You need to compile YCM first, which is a pain on Windows. 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.
You can’t perform that action at this time.