SublimeText - Unselect last incrementally selected element?

﹥>﹥吖頭↗ 提交于 2020-02-19 07:37:08

问题


I recently discovered the insanely useful ctrl+D functionality in sublime text. With a careful eye, it's almost as functional for things like renaming as far more sophisticated refactoring tools.

One thing bothers me. As I ctrl+D through my selections, sometimes I've selected 10 items and overshoot by one (eg. into another method). Is there a way to reverse direction and "deselect the last selected item"?


回答1:


ctrl+u as per sublimetext.com/docs and tested by me.

ctrl+k, ctrl+d will skip the current selection.




回答2:


Also you can deselect anything while holding Alt




回答3:


For Mac:

Skip last: cmd+u

Skip current: cmd+k, cmd+d

Unfortunately though, when the "selection loop" reaches bottom of document and starts from the top again - the functionality is lost.



来源:https://stackoverflow.com/questions/12411850/sublimetext-unselect-last-incrementally-selected-element

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!