highlight Keyword cterm=italic
" FZF config
-set rtp+=/usr/local/opt/fzf
+set rtp+=$FZF_VIM_PATH
" Inserts the path of the currently edited file into a command
noremap <C-P> :FZF <CR>
\}
let g:ale_fix_on_save = 1
+" Svelte Config
+let g:vim_svelte_plugin_use_typescript = 1
+
" Deoplete config
let g:deoplete#enable_at_startup = 1
inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
vnoremap <C-S-j> :m '>+1<CR>gv=gv
vnoremap <C-S-k> :m '<-2<CR>gv=gv
+" Limelight / Goyo config
+
+let g:limelight_conceal_ctermfg = 'gray'
+let g:limelight_conceal_guifg = 'DarkGray'
+
+autocmd! User GoyoEnter Limelight
+autocmd! User GoyoLeave Limelight!
+nnoremap <leader>f :Limelight!!<CR>==
+inoremap <leader>f <Esc>:Limelight!!<CR>==gi
+vnoremap <leader>f :<C-u>Limelight!!<CR>gv=gv
+nnoremap <leader>g :Goyo<CR>==
+inoremap <leader>g <Esc>:Goyo<CR>==gi
+vnoremap <leader>g :<C-u>Goyo<CR>gv=gv
+
"
" Plug Config
"
Plug 'othree/yajs.vim'
Plug 'ARM9/snes-syntax-vim'
Plug 'posva/vim-vue'
+Plug 'leafgarland/typescript-vim'
Plug 'leafOfTree/vim-svelte-plugin'
Plug 'bumaociyuan/vim-swift'
Plug 'udalov/kotlin-vim'
+Plug 'tikhomirov/vim-glsl'
+Plug 'jparise/vim-graphql'
+Plug 'digitaltoad/vim-pug'
+Plug 'https://git.sr.ht/~torresjrjr/gemini.vim'
+Plug 'rust-lang/rust.vim'
+Plug 'dart-lang/dart-vim-plugin'
" Editing
-Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-endwise'
+Plug 'rstacruz/vim-closer'
Plug 'michaeljsmith/vim-indent-object'
+Plug 'editorconfig/editorconfig-vim'
+
+" Distraction free editing
+Plug 'junegunn/goyo.vim'
+Plug 'junegunn/limelight.vim'
" Tools
Plug 'editorconfig/editorconfig-vim'
Plug 'dense-analysis/ale'
-if has('nvim')
- Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
-else
- Plug 'Shougo/deoplete.nvim'
- Plug 'roxma/nvim-yarp'
- Plug 'roxma/vim-hug-neovim-rpc'
-endif
+Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'vim-scripts/LargeFile'
Plug 'tpope/vim-fugitive'
Plug 'milkypostman/vim-togglelist'
" List ends here. Plugins become visible to Vim after this call.
call plug#end()
+
+if filereadable(expand('~/.vimrc.local'))
+ exe 'source' '~/.vimrc.local'
+endif