We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceeee48 commit 6f87341Copy full SHA for 6f87341
plugin/vsnip.vim
@@ -74,7 +74,7 @@ endfunction
74
" extra mapping
75
"
76
if g:vsnip_extra_mapping
77
- snoremap <expr> <BS> ("\<BS>" . (getcurpos()[2] == col('$') - 1 ? 'a' : 'i'))
+ snoremap <expr> <BS> ("\<BS>" . (&virtualedit ==# '' && getcurpos()[2] >= col('$') - 1 ? 'a' : 'i'))
78
endif
79
80
0 commit comments