![]()
There may be cases where you want to comment out a line or collections of lines. Toggle comments (on and off) Cmd + / (Mac) (Warning: a large selection can seriously slow down Atom!) This shortcut selects everything that matches what you’ve selected. Sometimes you want to bulk edit all the matching characters in the document, rather than pressing Cmd/Ctrl + D for every one. Select all matching characters Cmd + Ctrl + G (Mac) This shortcut will unselect the most recently selected characters in reverse order. If you’re selecting the next matching characters, sometimes you go too far. Unselect the next matching characters Cmd + U (Mac) #Workflowy keyboard shortcuts updateThis is particularly helpful if you want to update only a couple of values or properties, without resorting to find and replace. You can then (using the auto generated multiple cursors) delete, edit or update the highlighted values. This command allows you to select the next matching word or characters to that which is highlighted. Select the next matching characters Cmd + D (Mac) If you have selected multiple lines, it will move the whole block (and auto indent) as you move in and out of tags and brackets. Wherever your cursor is, this shortcut will move the current line above or below the lines around it. This keyboard shortcut is great in conjunction with the duplicate line one above. Move the current line Up or Down Cmd + Ctrl + Up (or Down) Arrow (Mac)Ĭtrl + Up (or Down) Arrow (Windows/Linux) Of course, you can duplicate multiple lines at once, too - either by highlighting them or by using multiple cursors: It’s hugely helpful for duplicating CSS selectors, gradients or table cells. It allows you to place your cursor anywhere on the line and duplicate it. If shortcuts got medals, this would be the one to win gold. The ones I’ve listed below I tend to use at least once an hour. Naturally, you forget the ones you don’t use, whereas the ones you use constantly get engraved in your mind. #Workflowy keyboard shortcuts how to(There are things I do via shortcuts in Photoshop that I wouldn’t have a clue how to do any other way!) I can’t help but try and learn them all for every program I use. Located in the Edit > Text menu are some clever text manipulation tools, including Upper Case and Lower Case functions. You might want all uppercase, or you may need to convert a SHOUTY SENTENCE to all lowercase. Sometimes you have text that’s in the wrong case. To enable this option, it’s a few checkboxes down from the Show invisibles option in Atom (Mac) or File (Windows/Linux) > Preferences > (Scroll Down) Soft Wrap. If it has wrapped the line, it indents it to the same level as the previous line and replaces the line number in the gutter with a This makes sure nothing goes off the edge of the screen but wraps around. I despise having to scroll left and right and up and down, so to make sure there’s only one direction, I’ve enabled soft wrap in Atom. To do this, go to Atom (Mac) or File (Windows/Linux) > Preferences > (Scroll Down) Show Invisibles. This helps you see exactly where you have mixed tabs and empty news filled with spaces.Īlthough it makes your screen feel “busy” to begin with, you soon get used to it, and I now find it invaluable. for space indentation, » for tab and ¬ for new line characters.To make sure the document and all lines are using the correct indentation, I’ve enabled invisibles in my editor. Or this for Windows/Linux: 'atom-text-editor': To do the same yourself, go to Atom > Keymap (Mac) or File > Settings > Keybindings > Keymap (Windows/Linux) and paste the following for Mac: 'atom-text-editor': (On Windows, I would opt for Ctrl + } - which is Ctrl + Shift + ] - as Ctrl + Alt + ] is already taken.) To speed this up, I created a custom keyboard shortcut, enabling me to use Ctrl + Cmd + ] at any point. This should copy the current indentation on the file to correct your code. #Workflowy keyboard shortcuts codeSelect the code and head to Edit > Lines > Auto Indent. One annoyance I have is when I copy code from somewhere and the indentation is all over the place. There are also other ways to get multiple cursors - but we’ll cover them later with keyboard shortcuts. Just hold cmd (Mac) or ctrl (Windows/Linux) and click in every place you want to type. This enables to you type many things at once, on multiple lines, anywhere in the document. One of the most impressive features of Atom is its multiple cursor support. It’s worth having a look through all the menu options - as you might spot something you never knew was there! Multiple Cursors There are options you can enable, features the IDE has, and menu settings you never knew existed. The first stop is some general Atom tips. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |