Skip to content

Instantly share code, notes, and snippets.

@psqq
Created June 20, 2020 08:34
Show Gist options
  • Save psqq/6dfde458257c9f3d3a29ee126503acb2 to your computer and use it in GitHub Desktop.
Save psqq/6dfde458257c9f3d3a29ee126503acb2 to your computer and use it in GitHub Desktop.
My vim config

Install Plug

Vim

Unix

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Neovim

Unix, Linux

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'
set number
syntax on
set tabstop=2
set shiftwidth=2
set smarttab
set expandtab
set smartindent
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment