Skip to content

Instantly share code, notes, and snippets.

@lmatt-bit
Last active January 19, 2017 12:46
Show Gist options
  • Select an option

  • Save lmatt-bit/2365fc13e2fc5d5c394b to your computer and use it in GitHub Desktop.

Select an option

Save lmatt-bit/2365fc13e2fc5d5c394b to your computer and use it in GitHub Desktop.
vimrc
set t_Co=256
syntax on
set scrolloff=3
" colorschema desert
set autoindent
filetype plugin indent on
" no swap file
set noswapfile
set clipboard+=unnamed
set number
set expandtab
set smarttab
set sw=2
set sts=2
set hlsearch
set ignorecase
set incsearch
set nocompatible " be iMproved, required
filetype off " required
set encoding=utf-8
set termencoding=utf-8
set fileencodings=usc-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
"
" Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
" Plug 'junegunn/vim-easy-align'
" Plug 'itchyny/lightline.vim'
Plug 'vim-airline/vim-airline'
Plug 'easymotion/vim-easymotion'
Plug 'airblade/vim-gitgutter'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'dhruvasagar/vim-table-mode'
Plug 'scrooloose/nerdcommenter'
Plug 'terryma/vim-multiple-cursors'
Plug 'wincent/command-t'
Plug 'nathanaelkane/vim-indent-guides'
" Any valid git URL is allowed
" Plug 'https://github.com/junegunn/vim-github-dashboard.git'
" Multiple Plug commands can be written in a single line using | separators
" Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
" On-demand loading
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
" Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
" Using a non-master branch
" Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' }
" Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
" Plug 'fatih/vim-go', { 'tag': '*' }
" Plugin options
" Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' }
" Plugin outside ~/.vim/plugged with post-update hook
" Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
" Unmanaged plugin (manually installed and updated)
" Plug '~/my-prototype-plugin'
" Initialize plugin system
call plug#end()
set laststatus=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment