christoomey/vim-sort-motion

Support for sorting visual selections

Opened this issue · 2 comments

Hi,

I really like being able to do quick motions like gsip and gqip, but intuition breaks down when you try to do gs in visual mode, which unlike gq does nothing. Would you consider incorporating the ability to use gs on a visual selection?

Hi @pyrohh. I've just pushed up 0897f04 which adds a gs mapping for sorting from visual mode. Thanks for the suggestion!

Thanks a lot, this is perfect.