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

조회 수: 3 (최근 30일)
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
Image Analyst
Image Analyst 2022년 3월 3일
Do you not have the extended keyboard with the navigation pad and the numeric keypad? Does your keyboard not have a delete key?
Matt J
Matt J 2022년 3월 4일
편집: Matt J 2022년 3월 4일
I do have a delete key, but I might prefer a different shortcut.

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2022년 3월 3일
Usually this is done by the delete key.
  댓글 수: 2
Matt J
Matt J 2022년 3월 3일
@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.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Image Analyst
Image Analyst 2022년 3월 3일
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
Jan
Jan 2022년 3월 3일
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 2022년 3월 3일
편집: Matt J 2022년 3월 3일
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:

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Desktop에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by