MATLAB Answers

cmd+0 keyboard shortcut from Live Editor to Command Window

16 views (last 30 days)
Andrew Metcalf
Andrew Metcalf on 2 Mar 2017
Edited: Nicolas Douillet on 3 Oct 2019
This shortcut works if I'm in a regular Editor window, but not when I'm in a Live Editor. Also, from the Command Window, shift+cmd+0 takes me back to the Live Editor just fine. I am using R2016b on a fully updated Mac.

  0 Comments

Sign in to comment.

Answers (5)

Nagarjuna Manchineni
Nagarjuna Manchineni on 6 Mar 2017
As mentioned in the following documentation link (as of MATLAB R2016b), Live Editor ignores most Editor preferences, including custom keyboard shortcuts and Emacs-style keyboard shortcuts.
However, the development team is aware of this feature request, and they might consider it for a future release of MATLAB.

  1 Comment

Kate Derosier
Kate Derosier on 18 Apr 2017
In case any devs are looking at this, I wanted to say that I really hope they add in keyboard shortcut support - I've been using live scripts whenever I'm plotting stuff for a couple months, and I would say almost every day I try to use ctrl+e to go to the end of the line and then realized that doesn't work in a live script.

Sign in to comment.


Tyler
Tyler on 22 Jan 2018
Has this been fixed for Matlab 2017 or planned for any future releases? I consider the UI broken when keyboard shortcuts do not obey user settings.
I use a standard keyboard on my mac and simply want the home and end buttons to work for navigating to beginning and end of line rather than beginning and end of file. This is not only annoying but enough for me to consider not using the Live Editor entirely. There shouldn't be different unsettable keyboard shortcuts for Live Editor!

  0 Comments

Sign in to comment.


Raymond Chiu
Raymond Chiu on 9 May 2018
@MATLAB staff: wouldn't it be easier for users if there was one command to toggle between the MATLAB Command Window and the live editor? I am not sure why there are two different commands for 'each direction'.

  0 Comments

Sign in to comment.


Nicolas Douillet
Nicolas Douillet on 23 Sep 2019
Edited: Nicolas Douillet on 23 Sep 2019
Hi,
Is this shortcut still available on Matlab latest versions ? And what about the ones listed here ? (I am running R2017b, but will soon update to R2019b.
I tried it (Ctrl + 0 under W10 to switch from editor window to command window), but unsucessfully until now.
Help much appreciated, thank you.
Edit : shortcuts in the link must still work I guess since it is supposed to work with R2019b as mentionned. Is there then a place to activate / enable them in Matlab preferences ? -still doesn't work on my 2017b-

  0 Comments

Sign in to comment.