diff options
Diffstat (limited to 'autoload/sonictemplate.vim')
-rw-r--r-- | autoload/sonictemplate.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim index b857a25..c42e4d3 100644 --- a/autoload/sonictemplate.vim +++ b/autoload/sonictemplate.vim @@ -285,7 +285,7 @@ function! sonictemplate#apply(name, mode, ...) abort endif silent! %d _ silent! put = c - silent! normal! ggdd + silent! normal! gg"_dd else if c[len(c)-1] == "\n" let c = c[:-2] @@ -314,7 +314,7 @@ function! sonictemplate#apply(name, mode, ...) abort let c = substitute(c, "\t", repeat(' ', shiftwidth()), 'g') endif if line('.') < line('$') - silent! normal! dd + silent! normal! "_dd endif silent! put! =c endif |