platformio-atom-ide-terminal icon indicating copy to clipboard operation
platformio-atom-ide-terminal copied to clipboard

How to switch between editor and terminal ?

Open rusikf opened this issue 5 years ago • 6 comments

Hi atom hackers!

How to switch between editor and terminal without opening new terminal window?

For example I open new terminal with ctr + `, but when I need to focus back to editor, I click with mouse, Is it possible to focus on editor <-> terminal via hotkeys ? :thinking:

Thanks

rusikf avatar May 30 '19 11:05 rusikf

Hi.

Check out this file... https://github.com/platformio/platformio-atom-ide-terminal/blob/cb12f3127edb8364add8e53fe041aac5d28670fa/keymaps/platformio-ide-terminal.cson

It depends on your OS, since you dont ask specifically, that file has all the answers to your question.

the-j0k3r avatar May 30 '19 11:05 the-j0k3r

@the-j0k3r Magnificently! Thanks, for fast response ! :+1: I have a linux OS, so ctr+alt+f works fine to focus on terminal But how to focus on editor from terminal ?( opposite direction I mean ) Thanks!

rusikf avatar May 31 '19 06:05 rusikf

Its a no brainer same key combo. It will focus on the open file in atom you last used. ELse it hangs in limbo it seems.

You can also look at Atoms keybindings to look for other specific combos or whatever suits. Im sorry but Im a bit lazy to go and look them up for you ;)

Also Its OK to leave this ticket open.

the-j0k3r avatar May 31 '19 06:05 the-j0k3r

Partially decision - was found Close tree view with ctr +
And in this case ctr+alt+f works in both directions

rusikf avatar Jul 02 '19 08:07 rusikf

@rusikf Thanks for your feedback with your recent findings.

Lets leave this open in case other users are looking for similar answer or have other findings to add.

Thanks.

the-j0k3r avatar Jul 02 '19 17:07 the-j0k3r

Thanks rusikf for the shortcut, I was looking for that. Hitting twice ctrl-` each time became rather annoying, although ctrl-alt-f is also not the most convenient combination (although I can change that manually). This shortcut should be added to the package description, e.g. on https://atom.io/packages/platformio-ide-terminal

misterBart avatar Sep 18 '21 14:09 misterBart