Skip to content

Instantly share code, notes, and snippets.

@mbriggs
Last active November 5, 2019 02:17
Show Gist options
  • Save mbriggs/e91cc60ab0494ab1369365586ab2d4d6 to your computer and use it in GitHub Desktop.
Save mbriggs/e91cc60ab0494ab1369365586ab2d4d6 to your computer and use it in GitHub Desktop.
if &compatible
set nocompatible " Be iMproved
endif
call plug#begin('~/nvim/plugged')
" syntax
Plug 'othree/yajs.vim'
Plug 'othree/html5.vim'
Plug 'vim-scripts/nginx.vim'
Plug 'vim-ruby/vim-ruby'
Plug 'plasticboy/vim-markdown'
Plug 'honza/dockerfile.vim'
Plug 'posva/vim-vue'
Plug 'HerringtonDarkholme/yats.vim'
Plug 'cakebaker/scss-syntax.vim'
" features
Plug 'mattn/webapi-vim'
Plug 'mattn/gist-vim'
Plug 'junegunn/fzf.vim'
Plug '/usr/local/opt/fzf'
Plug 'cohama/lexima.vim'
Plug 'justinmk/vim-gtfo'
Plug 'tyru/caw.vim'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'idanarye/vim-merginal'
Plug 'dense-analysis/ale'
Plug 'tpope/vim-vinegar'
Plug 'SirVer/ultisnips'
" completion
Plug 'neoclide/coc.nvim', {'branch': 'master'}
" Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile'}
" Plug 'neoclide/coc-json'
" Plug 'neoclide/coc-tsserver'
" Plug 'neoclide/coc-html'
" Plug 'neoclide/coc-css'
" Plug 'neoclide/coc-yaml'
" Plug 'iamcco/coc-svg'
" Plug 'iamcco/coc-tailwindcss'
" Plug 'iamcco/coc-angular'
" Plug 'iamcco/coc-vimlsp'
" Plug 'fannheyward/coc-xml'
" colors
Plug 'morhetz/gruvbox'
Plug 'rakr/vim-one'
" vim
Plug 'AndrewRadev/splitjoin.vim'
Plug 'kana/vim-niceblock'
Plug 'Olical/vim-enmasse'
Plug 'machakann/vim-highlightedyank'
Plug 'bkad/CamelCaseMotion'
Plug 'ConradIrwin/vim-bracketed-paste'
Plug 'mhinz/vim-signify'
Plug 'alvan/vim-closetag'
Plug 'kana/vim-repeat'
Plug 'Shougo/context_filetype.vim'
Plug 'machakann/vim-sandwich'
Plug 'tpope/vim-abolish'
Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-eunuch'
Plug 'vim-scripts/ReplaceWithRegister'
call plug#end()
filetype plugin indent on
syntax enable
call camelcasemotion#CreateMotionMappings('<leader>')
" closetags
let g:closetag_filenames = "*.html,*.erb,*.xml,*.js"
" snippets
let g:UltiSnipsExpandTrigger="<m-space>"
let g:UltiSnipsJumpForwardTrigger="<m-space>"
let g:UltiSnipsJumpBackwardTrigger="<c-h>"
" ALE
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'javascript': ['eslint', 'prettier'],
\ 'typescript': ['tslint', 'prettier'],
\ 'html': ['prettier'],
\}
let g:ale_fix_on_save = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment