From 6ebbd9c3abe12f1f1afdd36510a1499906b02e7d Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 11 Oct 2020 23:56:32 +0800 Subject: [PATCH] update vim-sandwich config, disable vim-surround --- plugins.vim | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/plugins.vim b/plugins.vim index 8b87e77..3493c5e 100644 --- a/plugins.vim +++ b/plugins.vim @@ -238,7 +238,7 @@ Plug 'chrisbra/unicode.vim' Plug 'wellle/targets.vim' " Plugin to manipulate characer pairs quickly -Plug 'tpope/vim-surround' +" Plug 'tpope/vim-surround' Plug 'machakann/vim-sandwich' " Add indent object for vim (useful for languages like Python) @@ -684,6 +684,14 @@ nmap ga (UnicodeGA) call deoplete#custom#source('emoji', 'converters', ['converter_emoji']) "}} +"{{ text objects +""""""""""""""""""""""""""""vim-sandwich settings""""""""""""""""""""""""""""" +" Disable default s operation +nmap s +xmap s + +"}} + "{{ LaTeX editting """"""""""""""""""""""""""""vimtex settings""""""""""""""""""""""""""""" if ( g:is_win || g:is_mac ) && executable('latex')