tests: break the undo chain when typing lines

This commit is contained in:
Steve Losh 2010-12-09 19:56:33 -05:00
parent 66e274cfa6
commit 96de2fbc39

View File

@ -1,3 +1,5 @@
let s:undolevels_save = &undolevels
function! g:Goto(buffername)"{{{
exec bufwinnr(bufnr(a:buffername)) . 'wincmd w'
endfunction"}}}
@ -25,6 +27,9 @@ endfunction"}}}
function! g:TypeLineDone(text)"{{{
exe "normal i" . a:text . "\n\e"
" Break the undo chain
let &undolevels = s:undolevels_save
endfunction"}}}
function! g:PrintTheFuckingBuffer()"{{{