sublimehq / Vintage

Vintage mode adds a vi style command mode to Sublime Text 2
http://www.sublimetext.com/docs/2/vintage.html
579 stars 76 forks source link

Fix visual block selection ending on wrong line #206

Closed jontewks closed 7 years ago

jontewks commented 7 years ago

Using a command like 50G would correctly take you to line 50, but when in visual block mode in order to select a block ending on line 50, it would only select up to line 49 in that case. This checks for visual mode in the same fashion as line 513 of vintage.py and correctly selects the block based on being in visual mode or not.

Before: Commands run: 179G, V, 190G

screen shot 2017-07-31 at 10 48 22 pm

After: Commands run: 179G, V, 191G <- different final command to account for the extra line added image

Info: Dev Channel Build, 3142 macOS 10.12.6 Sierra

jontewks commented 7 years ago

Sad to see vintage mode not getting any love, all the other alternatives I've tried have other quirks too...