]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - vimrc
Move graphql plugin to syntaxes
[rbdr/dotfiles] / vimrc
diff --git a/vimrc b/vimrc
index 8f750fe89a63b0588cb20398b00345bc659e5720..3e5c9370d825ca71d0f9e96de2ca9320b0dafa0a 100755 (executable)
--- a/vimrc
+++ b/vimrc
@@ -185,6 +185,17 @@ inoremap <C-S-k> <Esc>:m .-2<CR>==gi
 vnoremap <C-S-j> :m '>+1<CR>gv=gv
 vnoremap <C-S-k> :m '<-2<CR>gv=gv
 
 vnoremap <C-S-j> :m '>+1<CR>gv=gv
 vnoremap <C-S-k> :m '<-2<CR>gv=gv
 
+" Limelight / Goyo config
+
+autocmd! User GoyoEnter Limelight
+autocmd! User GoyoLeave Limelight!
+nnoremap <C-S-l> :Limelight!!<CR>==
+inoremap <C-S-l> <Esc>:Limelight!!<CR>==gi
+vnoremap <C-S-l> :<C-u>Limelight!!<CR>gv=gv
+nnoremap <C-S-g> :Goyo<CR>==
+inoremap <C-S-g> <Esc>:Goyo<CR>==gi
+vnoremap <C-S-g> :<C-u>Goyo<CR>gv=gv
+
 "
 " Plug Config
 "
 "
 " Plug Config
 "
@@ -202,12 +213,17 @@ Plug 'leafOfTree/vim-svelte-plugin'
 Plug 'bumaociyuan/vim-swift'
 Plug 'udalov/kotlin-vim'
 Plug 'tikhomirov/vim-glsl'
 Plug 'bumaociyuan/vim-swift'
 Plug 'udalov/kotlin-vim'
 Plug 'tikhomirov/vim-glsl'
+Plug 'jparise/vim-graphql'
 
 " Editing
 
 " Editing
-Plug 'jiangmiao/auto-pairs'
 Plug 'tpope/vim-endwise'
 Plug 'tpope/vim-endwise'
+Plug 'rstacruz/vim-closer'
 Plug 'michaeljsmith/vim-indent-object'
 
 Plug 'michaeljsmith/vim-indent-object'
 
+" Distraction free editing
+Plug 'junegunn/goyo.vim'
+Plug 'junegunn/limelight.vim'
+
 " Tools
 Plug 'editorconfig/editorconfig-vim'
 Plug 'dense-analysis/ale'
 " Tools
 Plug 'editorconfig/editorconfig-vim'
 Plug 'dense-analysis/ale'