nvim: after/plugin: vsnip: Fix conflicting key mapping with sneak

This commit is contained in:
Sanchayan Maity 2021-05-17 10:34:43 +05:30
parent 3b163a4a5a
commit 87c23e3bbc

View file

@ -8,10 +8,10 @@ smap <expr> <C-l> vsnip#available(1) ? '<Plug>(vsnip-expand-or-jump)' : '<C-l
" Select or cut text to use as $TM_SELECTED_TEXT in the next snippet.
" See https://github.com/hrsh7th/vim-vsnip/pull/50
nmap s <Plug>(vsnip-select-text)
xmap s <Plug>(vsnip-select-text)
nmap S <Plug>(vsnip-cut-text)
xmap S <Plug>(vsnip-cut-text)
nmap <LocalLeader>s <Plug>(vsnip-select-text)
xmap <LocalLeader>s <Plug>(vsnip-select-text)
nmap <LocalLeader>S <Plug>(vsnip-cut-text)
xmap <LocalLeader>S <Plug>(vsnip-cut-text)
" If you want to use snippet for multiple filetypes, you can `g:vsnip_filetypes` for it.
let g:vsnip_filetypes = {}