Created
December 11, 2019 12:36
-
-
Save lwakefield/cfb09c89d4842840b155e2a5eb2d0740 to your computer and use it in GitHub Desktop.
init.vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.vim/plugged') | |
" auto complete | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} # auto-complete | |
" fuzzy file opener | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug 'junegunn/fzf.vim' | |
" horizontal alignment | |
Plug 'junegunn/vim-easy-align' | |
" syntax highlighting for everything | |
Plug 'sheerun/vim-polyglot' | |
" auto-detect indent sizes | |
Plug 'tpope/vim-sleuth' | |
" change/add/delete braces/quotes/etc | |
Plug 'tpope/vim-surround' | |
call plug#end() | |
command! Def call CocAction('jumpDefinition') | |
command! Ref call CocAction('jumpReferences') | |
command! Refs call CocAction('jumpReferences') | |
command! Rename call CocAction('rename') | |
command! Hover call CocAction('doHover') | |
command! Ga !git add % | |
command! Gb term git blame % | |
command! F Files | |
command! B Buffers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment