Author Topic: Switch between panels with the keyboard only  (Read 3543 times)

Offline teto

  • Almost regular
  • **
  • Posts: 127
Switch between panels with the keyboard only
« on: September 16, 2015, 01:01:56 am »
Hi,

I exclusively use codeblocks with 2 panels (split view with 2 files visible at the same time) and I wonder if there is a mapping to let me switch between the left and right panels ?
It would be faster with the keyboard than taking the mouse.

Thanks


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Switch between panels with the keyboard only
« Reply #1 on: September 16, 2015, 01:44:19 am »
I don't know if there is such feature.
Also I'm not sure if it is possible to implement it or how it will look/work.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Switch between panels with the keyboard only
« Reply #2 on: September 21, 2015, 10:20:26 pm »
I wonder how VLC does it's "global" key mapping? Might be a good place to start.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Switch between panels with the keyboard only
« Reply #3 on: September 22, 2015, 11:49:11 am »
I'm not sure how VLC is related to this.
We can add the keybinding in the application.
But the real problem is how to make the key binding usable and convenient and of course non-confusing.

What happens if you've split your screen top-to-bottom or have three or more editors visible?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline teto

  • Almost regular
  • **
  • Posts: 127
Re: Switch between panels with the keyboard only
« Reply #4 on: September 22, 2015, 01:36:01 pm »
I don't mind if the mappings are awkward. My final goal is to use the same set of mappings between my tiling manager. For instance with neovim, my tiling windows manager checks if the focused window is neovim, if it is, it relays the change focus commands to neovim so that I can move around neovim splits as if there were windows.

There should be mapping to change panels Left/Right/Top/Bottom like vim's wincmd.