
To open the Recent Locations popup, press Ctrl+Shift+E. You can also check your recently viewed or changed code using the Recent Locations popup. If you need, you can assign shortcuts to these actions.

Press Ctrl+Shift+A and search for the Move Caret Forward a Paragraph with Selection or Move Caret Backward a Paragraph with Selection action. You can also select a text and then move the caret forward or backward to a paragraph. To move the caret forward to the next paragraph or backward to the previous one, press Ctrl+Shift+A and search for the Move Caret Forward a Paragraph or Move Caret Backward a Paragraph action. In the Caret Movement section, use the When moving by words and Upon line break options to configure the caret's behavior.

In the Settings dialog ( Ctrl+Alt+S), go to Editor | General. You can configure the position of the caret when you use these actions. When you move the caret to the previous word, the caret is placed in the beginning of the current word. To move the caret to the next word or the previous word, press Ctrl+Right or Ctrl+Left.īy default, CLion moves the caret to the end of the current word. You can also configure where the caret should stop when moved by words and on line breaks. You can use different actions to move the caret through code. To navigate between code blocks, press Ctrl+. To move caret between matching code block braces, press Ctrl+Shift+M. To see on what element the caret is currently positioned, press Alt+Q. To highlight a word at the caret you are trying to locate, select Edit | Find | Next Occurrence of the Word at Caret from the main menu. However, you can press the Up and Down arrow keys to achieve the same result. This action might be helpful if you do not want to scroll through a large file. To find the current caret location in the editor, press Ctrl+M. To navigate to the last edited location, press Ctrl+Shift+Backspace.

To navigate forward, press Ctrl+Alt+Right.
To navigate backwards, press Ctrl+Alt+Left. For the detailed information on navigating between the editor and tool windows, check the editor basics. You can quickly navigate through code in the editor using different actions and popups.
