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?
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.
Go to: Preferences -> Editor -> General -> Virtual Space -> Show virtual space at file bottom
Tick it.
Add a Keyboard Shortcut for Scroll line to middle. Ctrl+l
There is no such action in PyCharm, feel free to submit a feature request.
精彩评论