Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to center file on cursor like Emacs Ctrl-L, but in IntelliJ?

Is there a way to center file on cursor like Emacs Ctrl+L, but in IntelliJ? I'd like to better scroll through a file with IntelliJ. When I reach the bottom of the viewable screen I'd like to hotkey Ctrl+L to center the file with the cursor in the middle of the screen.

like image 900
lucidquiet Avatar asked Jul 24 '14 21:07

lucidquiet


1 Answers

Use Ctrl+M to scroll to center. M = middle.

like image 151
sina72 Avatar answered Sep 18 '22 08:09

sina72