Replace $cursor$ regardless of value of 'backspace' setting

This commit is contained in:
Jay Knight
2010-05-04 10:37:04 -05:00
parent 0e3cce60ac
commit 7aef89ccd4

View File

@@ -1456,7 +1456,7 @@ function! s:zen_expandAbbr(mode) range
endif
silent! exe "normal! ".len(part)."h"
if search('\$cursor\$', 'e')
silent! exe "normal! a" . repeat("\<c-h>", 8)
silent! exe "normal! v7hs"
endif
endfunction