Search code examples
intellij-ideapycharm

How to reduce the length of a column selection in Pycharm/Intellij


As can be seen in the screenshot the blue area represents a column-mode selection that is one line too long.

enter image description here

While the shift-up/down-arrow key increases the length of the selection, I can not discover any key combination to reduce its length. Instead I just start over each time. Is such a capability available?


Solution

  • I failed to reproduce the described behavior with the default keymap:

    selection

    It may help to reset the keymap bindings to the defaults or to reset all the IDE settings: File | Manage IDE Settings | Restore Default Settings.