Binding Emacs Keys in MATLAB: Copy / Paste?

In Emacs, the user usually copies / cuts the text as follows:

  • Move the cursor to the beginning of the text you want to copy / cut with one of the cursor movement commands (such as C-p, C-n, C-f, C-b, M-f, M-b,, etc.)
  • Set the characterC-spacebar (in Emacs, this command is also called set-mark)
  • Move to the end of the text to be copied / cut using the cursor movement commands.
  • Copy M-wor cut C-wtext from the label to the current cursor location
  • Move the cursor to the place where the copied / cut text should be pasted.
  • Paste the text with C-y

Starting with R2009a , MATLAB supports custom keyboard shortcuts , including a predefined Emacs layout.

My question is: does MATLAB support a command set-mark, for example C-spacebar(step 2 above)?

thank

+5
source share
1 answer

No, MATLAB does not currently support it set-mark.

+3
source

All Articles