开发者

How to scroll current line to the center of screen in PyCharm 1.5.4 with emacs keymap

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.


  1. Go to: Preferences -> Editor -> General -> Virtual Space -> Show virtual space at file bottom

    Tick it.

    How to scroll current line to the center of screen in PyCharm 1.5.4 with emacs keymap

  2. Add a Keyboard Shortcut for Scroll line to middle. Ctrl+l

    How to scroll current line to the center of screen in PyCharm 1.5.4 with emacs keymap


There is no such action in PyCharm, feel free to submit a feature request.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜