MATLAB Answers

1

cmd+0 keyboard shortcut from Live Editor to Command Window

Asked by Andrew Metcalf on 2 Mar 2017
Latest activity Answered by Raymond Chiu on 9 May 2018
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.

3 Answers

Answer by 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

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.


Answer by 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.


Answer by 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.