Skip to content

Instantly share code, notes, and snippets.

@nenodias
Last active March 7, 2018 17:31
Show Gist options
  • Select an option

  • Save nenodias/41d00fbd9bb79cede2f67afc153c84a5 to your computer and use it in GitHub Desktop.

Select an option

Save nenodias/41d00fbd9bb79cede2f67afc153c84a5 to your computer and use it in GitHub Desktop.
VIM - o/
" Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
call plug#begin('~/.vim/plugged')
Plug 'crusoexia/vim-monokai'
" Make sure you use single quotes
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
" 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'
Plug 'tpope/vim-fireplace', { 'for': ['clojure','python'] }
" Using a non-master branch
Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' }
" 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'
Plug 'davidhalter/jedi-vim'
"Plug 'python-mode/python-mode'"
Plug 'scrooloose/nerdtree'
Plug 'mattn/emmet-vim'
Plug 'pangloss/vim-javascript'
Plug 'vim-php/vim-php.github.com'
Plug 'vim-php/vim-composer'
" Initialize plugin system
call plug#end()
set number
syntax on
set t_Co=256
colorscheme monokai
set tabstop=4
set softtabstop=0 noexpandtab
set shiftwidth=4
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Windows with git bash
# Put Plug.vim on C:\Program Files\Git\usr\share\vim\vim74\autoload
http://superuser.com/questions/280331/vim-not-loading-vimrc-file-when-launched-from-git-bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment