Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Boadrius on December 28, 2016, 12:35:00 pm

Title: Switch between split windows
Post by: Boadrius on December 28, 2016, 12:35:00 pm
Hi everybody,

I'm using the version 13.12 and I want to use a shortcut to navigate into the split windows.
Anybody knows how can I do it? or How can I configure the shortcut?

Thank you so much.

Cheers!
Boadrius
Title: Re: Switch between split windows
Post by: oBFusCATed on December 28, 2016, 03:00:07 pm
Have you tried ctrl-tab and ctrl-shift-tab? It works for me on linux.
Title: Re: Switch between split windows
Post by: Boadrius on December 28, 2016, 05:09:23 pm
Hi,

Yes, but this is to switch between all the tabs... all that I want is switch between two split windows opened at the same time :( but I don't find any shortcut to do this...

Any suggestion??

Thanks!
Title: Re: Switch between split windows
Post by: oBFusCATed on December 28, 2016, 05:24:31 pm
Opps, my broken wx3.x build behaves like this, because ctrl-tab doesn't work. :)

I guess in the normal builds there is no such shortcut.
Title: Re: Switch between split windows
Post by: Pecan on December 28, 2016, 06:38:29 pm
Hi,

Yes, but this is to switch between all the tabs... all that I want is switch between two split windows opened at the same time :( but I don't find any shortcut to do this...

Any suggestion??

Thanks!

You can do this with the BrowseTracker plugin using ctrl-leftArrow(or some other key combo).

Install Browsetracker plugin.
You may have to use KeyBinder (settings->editor->KeyboardShortcuts->View->BrowseTracker->Backward Ed) to assign a key. I use ctrl-leftArrow.

Hold down the ctrl key then use the left arrow key to activate the first window.
Then do the save for the second window.
Now momentarily hold the ctrl-leftArrow and let go. The windows will switch back and forth.