question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cell shortcut remap not sticking on macOS

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

When I remap Shift+Enter to run selection, and apply the changes, it does nothing when I press Shift+Enter rather than either run the selection or run all the code.

spyder: 4.0.1 spyder-kernel: 1.8.1 Operating System: OSX Catalina 10.15.3 (19D76) PyQt5: 5.12.3

What steps reproduce the problem?

  1. Remap run select to Shift+Enter from f9 on OSX
  2. Try to run a code snippet using Shift+Enter

What is the expected output? What do you see instead?

I expect it to run selection; instead it does nothing

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version:
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
steff456commented, Feb 26, 2020

Since I can’t test it, I don’t know if this is going to fix the issue here. I’m just proposing stuff to try… 😛

Thanks @jnsebgosselin! It worked perfectly 😃

1reaction
jnsebgosselincommented, Feb 24, 2020

@steff456 please fix this with @jnsebgosselin suggestions

Since I can’t test it, I don’t know if this is going to fix the issue here. I’m just proposing stuff to try… 😛

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mac shortcuts not working in Mac Excel - … - Apple Community
Open System Preferences, click the Keyboard icon, click the Keyboard tab in there, and select the setting "Use all F1, F2, etc. keys...
Read more >
How to Remap Your Mac's Function Keys to Do Anything You ...
Visit System Preferences > Keyboard > Keyboard and select the checkbox for Use all F1, F2 etc. keys as standard function keys. Now...
Read more >
macos - Remap "Home" and "End" to beginning and end of line
The default shortcuts for moving to beginning or end of (wrapped) lines are ⌘ ← and ⌘ → . ⌥ ↑ and ⌥...
Read more >
How to use a Windows keyboard with Mac: Remap keys to fit ...
Now all you need to do is click the Option Key dropdown menu and change this to Command. Then click the Command Key...
Read more >
Win+Space not working in RDP from Mac to Windows
Check on the Mac, System Prefs > Keyboard > Keyboard > In two of the sections in the left column, Spotlight and Input...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found