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

Shortcut to run cells on Mac is not working #2228

Closed
crherlihy opened this issue Mar 10, 2015 · 12 comments
Closed

Shortcut to run cells on Mac is not working #2228

crherlihy opened this issue Mar 10, 2015 · 12 comments

Comments

@crherlihy
Copy link

for running a snipet of code, it seems the mac version is not working.
ctrl + enter deletes the code in mac. and thats what software suggests. Am I am missing something? or there is not hot key for mac.
Thanks,
C.

@ccordoba12 ccordoba12 added this to the v2.4 milestone Mar 10, 2015
@ccordoba12
Copy link
Member

Please report at least your Spyder version. Besides, what does it mean what the software suggests?

@ccordoba12
Copy link
Member

Another question: have you tried to use Cmd+Enter instead of Ctrl+Enter?

@ccordoba12 ccordoba12 changed the title hotkey / shortcut issues in mac Shortcut to run cells on Mac is not working Mar 23, 2015
@ccordoba12 ccordoba12 modified the milestones: v2.3.5, v3.0 Jun 1, 2015
@ccordoba12
Copy link
Member

Thanks for reporting. I know what you mean now :-)

I'll fix it in 2.3.5

ccordoba12 added a commit that referenced this issue Jun 12, 2015
- Also make our Mac app compatible with Sphinx 1.3 and remove exec bit
for pep8 modules
@crherlihy
Copy link
Author

Great; thanks !

@ccordoba12
Copy link
Member

No problem. Just to clarify, now Ctrl+Enter works to run cells, but also Cmd+Enter does it. I couldn't remove it, hope it's fine for you ;-)

@jiehu567
Copy link

Hi, Spyder is amazing tool!
I really thank you so much for this tool.
The hot key (shortcut) seems not working on 2.3.8 too, I tried to set and there's options like mod1, mod2, mod3, and key, but each there's only one key and I can not set as "cmd + enter"

How should I set? Tyvm

@ccordoba12
Copy link
Member

Unfortunately there's no way to change that shortcut to something else. This seems like a regression because I try to set it to be cmd+enter in 2.3.5 :-)

I'll see what's happening here ;-)

@Pseud0n1nja
Copy link

Pseud0n1nja commented Jul 15, 2018

After updating spyder 3.3, cmd +enter stopped working for running the cell where cursor lies, though it works for the selection. Please help. Tried hard coding and what not but nothing works even resetting to defaults several times @ccordoba12

@Pseud0n1nja
Copy link

furthermore cmd+enter highlights the adjacent word

@ccordoba12
Copy link
Member

@Pseud0n1nja, unfortunately none of the core developers use macOS so we can't help you for now.

You could try to change the current shortcut in

Tools > Preferences > Keyboard shortcuts

@katossky
Copy link

katossky commented Oct 26, 2018

It is not possible to change this specific shortcut here, on Mojave 10.14 with Spyder 3.2.8.
The current shortcut for executing selection / current line is F9 (difficult to reach since you have to do fn + F9 on a laptop) and it is not possible to replace it by Cmd+enter (it is simply not accepted by the shortcut manager).

@jnsebgosselin
Copy link
Member

jnsebgosselin commented Oct 26, 2018

Please open a new issue about this. Do not forget to include your OS, PyQt, Qt and Spyder version. Thank you.

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

No branches or pull requests

6 participants