Should I remap keyboard shortcuts?

9 views (last 30 days)
John Lof
John Lof on 5 Aug 2016
Edited: John Lof on 28 Aug 2016
Hi,
I am new with MATLAB, but it has already saved me a lot of work by making programming simple.
I would just like to ask about the keyboard shortcuts. They are not the same standard as Windows or Linux. I now use Ubuntu and I got the following, for example: alt/w copy, ctr/y paste (requires long fingers ;)), ctr/shift/- undo.
I am an older guy and change is difficult ;) I sometimes lean too long on the alt/w and end up in the view panel.
So far everything I have seen about MATLAB has been well considered and well worked out. So the choice of shortcuts is no coincidence, I am sure.
Before I remap the keyboard shortcuts I would just like to ask if there will be any negative consequences if I remap to ctr/c, ctr/x, ctr/v, ctr/z etc
Thank you

Accepted Answer

Stephen23
Stephen23 on 5 Aug 2016
Edited: Stephen23 on 5 Aug 2016
"if there will be any negative consequences"
None.
MATLAB provides the option to change the shortcuts:
This option exists, so why not use it?
  10 Comments
Image Analyst
Image Analyst on 5 Aug 2016
I once used the now defunct Codewright programmers editor, and I used a keymap based on the even older and "defuncter" Brief programmers editor. I really wish MATLAB would use a programmers type of keymap instead of Windows. For example to copy the line of code where you cursor is, simply hit + on the extended keypad. To cut hit the minus sign. So easy! None of this complicated stuff like trying to accurately position your arrow on the left side of the line and clicking, and then contorting your fingers to press two keys. One keystroke and boom! it's done. No mouse moving or multiple keys. To paste, simply hit the insert key -- so much easier than control-v.
To record a macro, type F7 then do all your keystrokes and hit F7 again to end it. Then to replay all those keystrokes from the current cursor location, simply hit F8. As of now, there is no macro and record capability in MATLAB at all that I'm aware of. Let me know if I'm wrong, but it needs to be single keystroke to be convenient, not drilling down into menus like Excel does it.
And to find, hit F5. To search and replace hit F6. Much easier than that two fingered control F and control H.
John Lof
John Lof on 28 Aug 2016
Edited: John Lof on 28 Aug 2016
I agree Image Analyst. Macros can really speed up, but they seem not to be high priority. In Windows I finally found Crimson Editor that had good macros. Notepad++ still has bugs.
Right now I am struggling with Linux default editor gedit that seems unwilling to even accept plug-ins for macros!
I think the Linux developers don't care to improve anything that can be done with (admittedly flawless) terminal programs like e.g. vi and emacs. (I'm back in vi now, which I haven't used seriously for more than 20 years :) )

Sign in to comment.

More Answers (0)

Categories

Find more on Desktop in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!