Does the keyboard shortcut for moving from editor to console back and forth in Sublime Text 2 exist? If so what is it?
For a Python Code block you can use Ctrl+` (The single quote on the tilde key). There are some other useful shortcuts here:
Useful Shortcuts
Not sure if this helps with other scenarios.
Related
I used Shift + Command (Ctrl) + L in Sublime Text 2.
What is the equivalent shortcut to initialize multiple cursors on selected lines in PHPStorm 8?
You can add it yourself.
Go to Preferences -> Keymap
Search for Clone Caret Below and Clone Carrot Above
Bind a shortcut (I used Ctrl + Command + ↓ for the first one)
Hit it until all the lines you want to edit have cursors :)
You can achieve this in PHPStorm by Alt + Click
As I understand this particular functionality is not yet implemented.
https://youtrack.jetbrains.com/issue/IDEA-122181 -- star/vote/comment to get notified on ptrogress.
This is now available via the Extra Actions plugin.
Credit
GitHub
To enable, edit your keymap:
Recommended shortcut: Ctrl+Shift+L
Today I was playing with Coda 2 as this is for the first time I'm using it after buying the IDE yesterday night. I've installed emmet on coda to speed up my workflow. At the same time I was trying to save some snippets in the Coda clips. Unfortunately the problem started here! When I'm pressing the TAB key to bring my clips snippets to the editor, emmet comes up with it's html contents. Like when I was trying to trigger hhtm (which is my doctype declaration in Coda 2), it comes up with <hhtm></hhtm>. There is only one solution to this which is to uncheck the "Expand abbreviation with TAB key" in emmet, but I want to use both! Is there any way to use both emmet and Coda clips together at the same time using the TAB key?
No, it’s not possible, Coda does not provide such API.
As a workaround you can keep all your snippets (“clips” in Coda terms) in Emmet: http://docs.emmet.io/customization/snippets/
I realise this is a seriously old question, but in case someone else looks for the answer: Keep "Expand abbreviation with TAB key" on in emmet and you can use 'ALT + TAB' to expand your coda snippets - you just need to remember which are which!
I just got the message of the new released plugin from Emmet in sublime text 2.
I tried it out but i still get the same issue as before meaning I can't make the wrapping action work. None of the demos in the following link are working for me : http://docs.emmet.io/actions/wrap-with-abbreviation/
For instance in the first demo it says "Wrap with Abbreviation" using Shift+Ctrl+A shortcut, and it's supposed to open a dialog box in which you can input your abreviation code wrapping. But it doesn't work. Instead, this shortcut selects the word where i trigger it and if i keep doing so it adds the nearby words or tags, but still no dialog box.
Does anybody has the same issue? Anyone knows how to fix it?
Thank you in advance.
Those shortcuts in docs are for demo boxes only. Your plugin may have different shortcuts.
In Sublime Text: https://github.com/sergeche/emmet-sublime#available-actions
Is there there a way to edit files across multiple selections in vintage mode?
I hit cmd + D (this is under a Mac) to select instances of string in the file, but I can't figure out how edit the selections.
This is under Sublime Text 2.
I haven't tested this on a Mac, but on Linux using CTRL-D puts you in visual mode. When you're in visual mode c allows you to change the highlighted text, putting you into insert mode much like vim would.
I struggled to figure this out myself. I came to find that simply selecting a word with Ctrl+D and then pressing c isn't a complete solution. It will only select the first occurrence of a word. In order to select and change them all I have found that I need to execute the following sequence:
Place the cursor at the beginning of the desired word
Ctrl+D to highlight the word
Ctrl+F to open the Find box pre-populated with the desired word
Alt+Enter to select all of the matching words
c to make the changes
Esc to return to COMMAND MODE
There are several posts all over the Internet (including the documentation on the Sublime Text website) which states that pressing Alt+F3 will select all of the matching words. This does not work for me on openSUSE/KDE. Pressing Alt+F3 will instead open the window menu for minimizing, maximizing, etc. In fact, if you hover over the Find All button after opening the Find box it will display Alt-text indicating Alt+Enter.
Usually I just press shift+up/down/right/left, then you will find that you can select whatever you want. It works on Mac sublime 3.
In sublime text with emmet plugin I can write
To get
But if I want to generate some lorem or other tag
after pressing tab I go to the next list item
how can I avoid this?
You can use CTRL+E to expand lorem3, instead of TAB.
When you expand abbreviation (especially like ul>li*3), Emmet generates tabstops (fields in terms of Sublime Text) in some important places assuming that you’re likely want to fill-up data in them (attribute values, tag contents etc.). So after you expand abbreviation you’re actually moving between tabstops with Tab/Shift-Tab. It’s a pity that ST does not displays decorations for tabstops.
You can simply press Esc key to quit tabstops mode and use Tab for expanding abbreviations.