There are more specialized text manipulation shortcuts that can help you make the changes you want more quickly than relying on basic selection shortcuts:
Create a macro
CTRL + Q to begin recording, CTRL + Q to stop recording, and CTRL + SHIFT + Q to execute the macro.
This is super useful when you need to make the same change across a number of different files.
Shift lines up and down
CMD + CTRL + UP and CMD + CTRL + DOWN
I have to move lines of code around very often and this is a significantly more efficient (and less error prone) way of doing it then cutting the line and then pasting it. You can also shift multiple selected lines!
Repeat the last command
CMD + Y
If you need to repeat commands that take way too many keys like CTRL + SHIFT + Q (remember what that does?) or CMD + CTRL + DOWN, you can just type this to repeat it. Really handy!
In the next post, I'll be covering basic search shortcuts.
No comments:
Post a Comment