Top => IntelliJ on Windows/Linux
Kata for practicing keyboard shortcuts for common editing operations
Key sequences to practice
- (Ctrl + Home) - move the caret to the beginning of the file
- (Down Arrow) - move the caret down one line
- (Ctrl + Right Arrow) - advance through the text word by word
- (Ctrl + Enter) - split line at current caret position
- (Ctrl + Shift + J) - append the next line to the end of the current line
Keystrokes without explanations
- Open the text file, rain-in-spain.txt.
- Repeat the following keyboard inputs until the sequence becomes fluid.
(Ctrl + Home)
(Down Arrow)
(Down Arrow)
hold (Ctrl)
(Right Arrow)
(Right Arrow)
(Right Arrow)
(Right Arrow)
release (Ctrl)
(Ctrl + Enter)
(Down Arrow)
(Down Arrow)
(Down Arrow)
(Ctrl + Shift + J)
Walkthrough of steps with explanations
- Open the text file, rain-in-spain.txt.
- Press (Ctrl + Home) to move the caret to the beginning of the file.
- Press (Down Arrow) twice to move the caret to the beginning of the line that reads, "The quick brown fox jumped over the lazy dog."
- Hold (Ctrl) and press (Right Arrow) four times to move the caret after the word, "fox".
- Press (Ctrl + Enter) for "smart" split, or just Enter), to split the line after the word "fox".
- Press (Down Arrow) three times to position the caret on the line about "life".
- Press (Ctrl + Shift +J) to append the next line to the current line.
And then to revert:
- Press (Ctrl + Z) repeatedly to undo changes.