Hello,
I’m wondering how can I select the text between double or single quotes? (Vim’s ci" equivalent)
Thanks.
Hello,
I’m wondering how can I select the text between double or single quotes? (Vim’s ci" equivalent)
Thanks.
I found about Sublime a few hours ago so not sure where can I type that. Please clarify.
Sublime Text has Vi emulation (implemented in the Vintage package), but it’s disabled by default. Go to Preferences | Global Settings - User in the top menu and make sure you have this in there:
"ignored_packages": ""],
Now you should be able to use many Vi commands.
If you don’t want to use Vintage, you can press Ctrl+Shift+Space and the selection will expand to the current scope. Strings normally have their own scope, so the whole string should be selected (probably including the quotation characters themselves).
Thank you very much for the Vintage package. I didn’t know about it.
I actually checked all the selection menu shortcuts before posting. It turned out having Command + Space to change the keyboard layout to another language was conflicting with Ctrl+Command+Space on Mac.