mhinz/vim-galore

Quickly add empty lines

chunleng opened this issue · 5 comments

`Quickly add empty lines

This is surely no must-have, but I prefer the following mappings over o/O:

nnoremap [ :put! =''
nnoremap ] :put =''`

It seems that o can accept a count to increase by the number of count but not :put
Maybe you would like to reconsider?

but o/O will sent a enter insert event.sometime there is no need switch to insert model

Seems valid from both point, I guess it will depend on user themselves whether they need to insert with multi-count or not and whether they use the event function you mentioned

Come to think of it, it may not be that frequent to need to add a lot of empty lines

I just tell you the diff between o/O and :put.
same as the vim-galore,we just tell you how to do,we do not tell you must to do anything.
You need to decide how to choose yourself!

mhinz commented

@springcold You're right as in the mappings should have taken a count from the beginning. They do now!

Thanks for reporting.