Skip to content

Improvement suggestion: toggle panes with some key binding. #73

@ubaldot

Description

@ubaldot

My custom layout is the following:

image

However, during my latest project I noticed a couple of things

  • I change the windows focus very often, especially between the two editor splits and sometimes I have to go to area that contains the various panes on the right-hand side. This requires me to take the mouse for changing focus very often and I get very tired.
  • Sometimes I just want to have the two editor windows side-by-side to cover all the screen without anything else, otherwise the text is very tight and I may need to scroll horizontally to read the code, in-spite I have the 80 columns limit set with black.

Therefore, I was wondering if it is possible to add some key binding to hide/unhide the right hand side of the screen, see picture below.

image

Or, more generally, I am wondering if it is possible to add some key-bindings like:

  • F1 hide/unhide Project pane
  • F2 hide/unhide IPython terminal
  • F3 hide/unhide Outline
  • F4 hide/unhide Variable Explorer
  • ...
    ...or something similar plus some another keyboard shortcut to jump from one editor split to another split (if you are familiar with Vim I am thinking about a <c-w>w command).
    In this way one would only have two editor's view side-by-side (which is quite common) in a very clean way and don't have to switch between keyboard and mouse too often.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions