aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-12 23:09:03 +0800
committerjdhao <jdhao@hotmail.com>2020-10-12 23:09:03 +0800
commitef0c9cb22ae6a9fb6faf25c7113d1ccf074ee33a (patch)
tree27934b172a07ae7804d7d1181e48bbdb6f7bd7ee /plugins.vim
parentd16c329c8d497cd31c8b88bc5fe938048ff6874a (diff)
do not use vim-sandwich's default mappings
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins.vim b/plugins.vim
index 27306c6..1798e15 100644
--- a/plugins.vim
+++ b/plugins.vim
@@ -686,6 +686,9 @@ call deoplete#custom#source('emoji', 'converters', ['converter_emoji'])
"{{ text objects
""""""""""""""""""""""""""""vim-sandwich settings"""""""""""""""""""""""""""""
+" Do not use the default mappings
+let g:sandwich_no_default_key_mappings = 1
+
" mappings for add surround
nmap ys <Plug>(operator-sandwich-add)
xmap ys <Plug>(operator-sandwich-add)