Amelio Vazquez-Reina
Amelio Vazquez-Reina

Reputation: 96284

Emacs keyboard bindings in MATLAB: Copy/Paste?

In Emacs, a user would usually copy/cut text as follows:

  1. Move the cursor to the beginning of the text to be copied/cut with one of the move-cursor commands (e.g. C-p, C-n, C-f, C-b, M-f, M-b, etc.)
  2. Set a mark with C-spacebar (in Emacs this command is also called set-mark)
  3. Move to the end of the text to be copied/cut using move-cursor commands.
  4. Copy M-w or Cut C-w the text from the mark to the current cursor location
  5. Move the cursor to the place where the copied/cut text is to be inserted
  6. Paste the text with C-y

Starting in R2009a, MATLAB supports customizable keyboard shortcuts, including a pre-defined Emacs layout.

My question is: Does MATLAB support a set-mark command such as C-spacebar (step 2. above)?

Thanks

Upvotes: 5

Views: 952

Answers (1)

ustun
ustun

Reputation: 7021

No, MATLAB currently doesn't support set-mark.

Upvotes: 3

Related Questions