diff --git a/.vim/vimrc b/.vim/vimrc index 127b751..6548500 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -57,6 +57,7 @@ Plug 'jasonccox/vim-wayland-clipboard' Plug 'junegunn/goyo.vim', { 'for': 'markdown' } Plug 'preservim/nerdcommenter' Plug 'airblade/vim-gitgutter' +Plug 'LunarWatcher/auto-pairs' Plug 'tpope/vim-surround' " fugitive.vim: A Git wrapper so awesome, it should be illegal @@ -452,6 +453,21 @@ let g:terraform_fold_sections=1 let g:terraform_fmt_on_save=1 +" autopairs +" sometimes issues with expanding {} +let g:AutoPairsMultilineClose = 0 +let g:AutoPairsFlyMode = 0 +let g:AutoPairsMapCR = 0 +" inoremap :call autopairs#AutoPairsReturn()i +" let g:AutoPairsFlyModeBlacklist = +" let g:AutoPairsShortcutToggle = '' +let b:AutoPairsShortcutToggle = '' +let b:AutoPairsShortcutToggleMultilineClose = '' +let g:AutoPairsShortcutToggle = '' +let g:AutoPairsShortcutToggleMultilineClose = '' +" nmap :call autopairs#AutoPairsToggleMultilineClose() + + " ctrlp " Setup some default ignores let g:ctrlp_custom_ignore = {