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 character
C-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
source
share