Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide better keyboard shortcuts to switch editor tabs on Mac #1741

Closed
spyder-bot opened this issue Feb 17, 2015 · 14 comments · Fixed by #21111
Closed

Provide better keyboard shortcuts to switch editor tabs on Mac #1741

spyder-bot opened this issue Feb 17, 2015 · 14 comments · Fixed by #21111

Comments

@spyder-bot
Copy link
Collaborator

From [email protected] on 2014-02-24T20:12:08Z

We need to add keyboard shortcuts to switch between (at least two) commonly used editor tabs. I know there are open tickets about dragging and dropping and renaming, which are not making much progress, but what about simply switching via the keyboard rather than mouse?

What steps will reproduce the problem?

  1. open one tab
    1. open another tab
    2. try to switch back to the first tab by using only the keyboard in less time than reaching for the mouse What version of the product are you using? On what operating system? 2.3 third beta

Please provide any additional information below

. Please? :)

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1741

@spyder-bot
Copy link
Collaborator Author

From [email protected] on 2014-09-03T09:55:54Z

Shortcuts for changing tabs is a very important part of any ide or editor. This feature is needed. Till then I'm using Pydev...

@spyder-bot
Copy link
Collaborator Author

From contrebasse on 2014-09-03T12:28:27Z

Try Ctrl+Tab and Ctrl+Shift+Tab ? I admit that with many tabs the switch order is inconsistent, but in your example there is only 2 tabs.

Also, 2.3 is out, you can update your beta version.

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-09-03T17:07:03Z

There is a shortcut to show a menu from which you can select your file. It's Ctrl+E.

Could you try it and see if that's what you're looking for?

@spyder-bot
Copy link
Collaborator Author

From contrebasse on 2014-09-04T08:15:25Z

Woah, I didn't know that ! Cool !

It's not very interactive, though. To switch tab you have to press Ctrl+E, Tab (to change te focus from the filter to the list) up or down arrow a few times, then Enter. It's fine when typing (part of) the name.

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-09-21T11:50:02Z

Labels: -Easy

@jondo
Copy link
Contributor

jondo commented Feb 25, 2015

Isn't this already available via Ctrl+PageUp?

@Nodd
Copy link
Contributor

Nodd commented Apr 8, 2015

Indeed.

@Nodd Nodd closed this as completed Apr 8, 2015
@gandalfsaxe
Copy link

What is this on Mac?

I can't find it in Preferences -> Keyboard shortcut.

@ccordoba12
Copy link
Member

It's hard coded because all editors/browsers/IDEs use those shortcuts (Ctrl+Tab and Ctrl+Shift+Tab). But this issue will be properly fixed in Spyder 3.2 too.

@GanadiniAkshay
Copy link

Any updates on this for Mac?

@ianhinder
Copy link

Is this still unavailable on macOS in Spyder 3.3.6? So if I have two editor tabs open and want to quickly switch between them, I have to use the touchpad rather than the keyboard? The macOS shortcuts for this are shift-command-[ and shift-command-], but neither of these seem to do anything. Ctrl-PageUp and Ctrl-PageDown don't work. Ctrl-Tab and Ctrl-Shift-Tab don't work. There also doesn't seem to be a menu entry for doing this, which I could bind in System Preferences.

@cranedroesch
Copy link

I'm using spyder 4.1.5 on a mac, and command-PgUp/Down works to swap editor tabs

@orpheus
Copy link

orpheus commented Feb 2, 2022

Needed for Mac. My keyboard doesn't have PgUp/Down

@ccordoba12 ccordoba12 changed the title keyboard shortcut to switch editor tabs Provide better keyboard shortcuts to switch editor tabs on Mac Jul 10, 2023
@ccordoba12 ccordoba12 removed the 1 star label Jul 10, 2023
@ccordoba12 ccordoba12 added this to the v5.4.4 milestone Jul 10, 2023
@ccordoba12
Copy link
Member

Reopening to provide more ergonomic shortcuts on Mac: Cmd+8/Cmd+9 instead of Ctr+PgUp/Ctrl+PgDown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants