Is there a keyboard shortcut for deleting one character ahead of the cursor, instead of one character behind it?

3 visualizzazioni (ultimi 30 giorni)
Is there a keyboard shortcut for deleting one character ahead of the cursor, instead of one character behind it (backspace)? Back in the days when I was using xemacs for my Matlab editor, I could do this with Ctrl+D. If it exists in Matalb, what is it's "action name" within the keyboard shortcuts preference editor, so that I might customize it?
  4 Commenti
Image Analyst
Image Analyst il 3 Mar 2022
Do you not have the extended keyboard with the navigation pad and the numeric keypad? Does your keyboard not have a delete key?

Accedi per commentare.

Risposta accettata

Jan
Jan il 3 Mar 2022
Usually this is done by the delete key.
  2 Commenti
Matt J
Matt J il 3 Mar 2022
@Jan, Thanks a lot.
what is it's "action name" within the keyboard shortcuts preference editor, so that I might customize it?
And, in answer to this part, there is a "Delete" action in the preference settings that can be reassigned.

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 3 Mar 2022
For some reason, Apple keyboards don't have a delete key. Or actually what they called delete was actually a backspace key. I always hated that about them. So what I did was to get a Logitech keyboard (for my wife's Mac) that had both a backspace key (delete to the left of the cursor) and delete key (delete to the right of the cursor). Problem solved.
  2 Commenti
Jan
Jan il 3 Mar 2022
My Apple keyboard does have a delete key. It is a German keyboard and the key is marked as "Entf".
The compact keyboard without a number block use Fn-Delete (which is the "Backspace"-key...) or control-D.
Matt J
Matt J il 3 Mar 2022
Modificato: Matt J il 3 Mar 2022
If you have a keyboard lacking a Delete key then, for Matlab purposes at least, you can reassign the Delete action to a different keyboard shortcut:

Accedi per commentare.

Categorie

Scopri di più su Desktop in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by