Skip to content

Commit

Permalink
fix a bug where <CR> inserts comments :/
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredodeza committed May 22, 2012
1 parent 12647ef commit dc4e07b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/posero.vim
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,10 @@ function! s:Next(number)
" we return here because we don't want to mix with block pushes
return
elseif slide[a:number] =~ "^\s*$"
execute "normal o"
put = ''
else
execute "normal a" . slide[a:number]. "\<CR>"
execute "normal a" . slide[a:number]
put = ''
endif

" This pushes blocks of text that do not match fake_typing if both
Expand Down

0 comments on commit dc4e07b

Please sign in to comment.