Skip to content

Instantly share code, notes, and snippets.

@suryakun
Created July 20, 2019 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suryakun/31023846708d8d0af85bf5458d87c8f9 to your computer and use it in GitHub Desktop.
Save suryakun/31023846708d8d0af85bf5458d87c8f9 to your computer and use it in GitHub Desktop.
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'itchyny/lightline.vim'
Plug 'terryma/vim-multiple-cursors'
Plug 'kana/vim-surround'
Plug 'scrooloose/nerdtree'
Plug 'editorconfig/editorconfig-vim'
Plug 'mattn/emmet-vim'
Plug 'airblade/vim-gitgutter'
" 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'
" 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
Plug 'valloric/youcompleteme'
Plug 'elixir-lang/vim-elixir'
Plug 'mxw/vim-jsx'
Plug 'sirver/ultisnips'
" Plug 'morhetz/gruvbox'
Plug 'isruslan/vim-es6'
Plug 'vim-airline/vim-airline'
Plug 'dart-lang/dart-vim-plugin'
Plug 'yggdroot/indentline'
Plug 'townk/vim-autoclose'
Plug 'dracula/vim', { 'as': 'dracula' }
call plug#end()
set laststatus=2
set relativenumber
let g:airline#extensions#tabline#enabled = 1
map ; :Files<CR>
map <C-o> :NERDTreeToggle<CR>
let g:multi_cursor_use_default_mapping=0
" Default mapping
let g:multi_cursor_start_word_key = '<C-n>'
let g:multi_cursor_select_all_word_key = '<A-n>'
let g:multi_cursor_start_key = 'g<C-n>'
let g:multi_cursor_select_all_key = 'g<A-n>'
let g:multi_cursor_next_key = '<C-n>'
let g:multi_cursor_prev_key = '<C-p>'
let g:multi_cursor_skip_key = '<C-x>'
let g:multi_cursor_quit_key = '<Esc>'
let g:gitgutter_enabled = 1
colorscheme dracula
set tabstop=4
set shiftwidth=4
set expandtab
let g:indentLine_char = '|'
let g:indentLine_color_term = 239
set conceallevel=2
let g:indentLine_concealcursor = 'inc'
let g:indentLine_conceallevel = 2
highlight Pmenu ctermfg=15 ctermbg=0 guifg=#ffffff guibg=#000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment