Apologies, if I post the question other person has already posted.
I have been using sublime for a while.
But I really cannot figure out how to make the column mode selecting working.
I have defined shortcuts for column_select according to online examples.
When I open sublime console, I can see:
column_select {“by”: “lines”, “forward”: true}
event triggered without warning.
I can also run:
sublime.run_command(cmd=‘column_select {“by”: “lines”, “forward”: true}’)
without warning messages.
It’s just NOTHING HAPPENED…
Anybody has any clew how to make it works…
Sublime 3.2.1.3207 column_select not working on Win10
What online example? I does not find column_select
command from the built-in keybinding.
Is it from a plugin? What plugin is it? Did you install it? Please clarify.
sublime.run_command()
does nothing without a warning if the command doesn’t even exist.
@wbond ↑ Could we print an error/warning message when trying to execute a nonexistent command from the console?
By the way, you may call it in a wrong way. If I remember correctly, it should be used like sublime.run_command('column_select', {"by": "lines", "forward": True})
.
I believe the command you’re looking for is select_lines
with arguments "forward": true
to extend the selection downwards and "forward": false
to extend the selection backwards.
The command is associated with the standard menu items Selection > Add Next Line
and Selection > Add Previous Line
; you can look there to see what keys are already bound to this on your platform.
Hi! OdatNurd,
Thank you very much for that. I have tried and it succeeded!
Problem resolved!