all repos — dotfiles @ d5a5b76ef84057dc486265340bc7def95ea87b85

my *nix dotfiles

Add and configure vim-textobj-quote

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Sat, 10 Nov 2018 10:43:06 +0530
commit

d5a5b76ef84057dc486265340bc7def95ea87b85

parent

b2b567c93ad9cf5ae400faaad67db096c946fc35

1 files changed, 12 insertions(+), 1 deletions(-)

jump to
M config/nvim/init.vimconfig/nvim/init.vim

@@ -15,6 +15,8 @@ Plug 'reedes/vim-wordy', { 'for': ['text', 'markdown'] }

Plug 'reedes/vim-litecorrect', { 'for': ['text', 'markdown'] } Plug 'junegunn/goyo.vim', { 'for': ['text', 'markdown'] } Plug 'plasticboy/vim-markdown', { 'for': ['text', 'markdown'] } +Plug 'kana/vim-textobj-user', { 'for': ['text', 'markdown'] } +Plug 'reedes/vim-textobj-quote', { 'for': ['text', 'markdown'] } " }}} Plug 'chriskempson/base16-vim' Plug 'ervandew/supertab'

@@ -196,4 +198,13 @@ " keysound

let g:keysound_enable = 1 let g:keysound_volume = 1000 let g:keysound_py_version = 3 -let g:keysound_theme = 'mario' +let g:keysound_theme = 'typewriter' + +" textobj_quote +augroup textobj_quote + autocmd! + autocmd FileType markdown call textobj#quote#init({'educate': 0}) + autocmd FileType textile call textobj#quote#init({'educate': 0}) + autocmd FileType text call textobj#quote#init({'educate': 0}) +augroup END +