Reputation: 35992
I try to figure out how to center the current line in the center through PyCharm. The default key binding of emacs is C-u C-l but it doesn't work in PyCharm.
Any suggestion?
Upvotes: 7
Views: 1140
Reputation: 3432
Go to: Preferences -> Editor -> General -> Virtual Space -> Show virtual space at file bottom
Upvotes: 5
Reputation: 11300
The default key binding for this is CTRL-M.
Go to File -> Settings, then Keymap, then Editor Actions -> Scroll to Center. There you find the feature, and you can remap it to any other binding.
This is an Intellij-Idea IDE feature and not limited to the PyCharm editor.
Upvotes: 7
Reputation: 402493
There is no such action in PyCharm, feel free to submit a feature request.
Upvotes: 1