From afabf9d4a0aaf6387489e78746ecb316808daef3 Mon Sep 17 00:00:00 2001 From: mattn Date: Thu, 24 Nov 2011 20:58:46 +0900 Subject: [PATCH] erase selected lines. --- autoload/zencoding.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/zencoding.vim b/autoload/zencoding.vim index 1f0d4d7..a237d72 100644 --- a/autoload/zencoding.vim +++ b/autoload/zencoding.vim @@ -790,6 +790,7 @@ function! zencoding#expandAbbr(mode) range let expand = substitute(expand, '\n\s*$', '', 'g') let expand = line[:-len(part)-1] . substitute(expand, "\n", "\n" . indent, 'g') . rest let lines = split(expand, '\n') + silent! exe "normal! gvc" call setline(line('.'), lines[0]) if len(lines) > 1 call append(line('.'), lines[1:])