First, I'm not and expert.  With that caveat, note that Ctrl-D, by default, sets double underline.

You can record a macro in LibreOffice and assign it to Ctrl-D if you want.

Record the macro using these instructions

I opened a doc, enter some text, positioned my cursor, started the macro record, then hit the "Del" key and stopped macro recording. I then saved the macro as "Del_right". This resulted in the following:

REM  *****  BASIC  *****

Sub Main

End Sub

sub Del_right
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("")

rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, ".uno:Delete", "", 0, Array())

end sub

I then used the instructions here as a guide:

Select Keyboard, then Ctrl+D, then "Modify".

In the functions section find "LibreOffice Macros>My Macros > Standard > Module1" and select the "Del_right" macro you saved.

This is just for guidance. I'm sure the process may be "dirty" but it worked for me. As always, YMMV.


On 02/23/2018 10:16 AM, Rich Shepard wrote:
Hey, LibreOffice users, here's a question for which I've yet to find the
answer: How do I set Ctrl-d to delete the character immediately to the right
of the cursor (the point in emacs speak)?

  I find nothing appropriate in Customize -> Keyboard. I see 'delete to end
of ...' and 'delete to beginning of ...' but nothing that duplicates the
Delete key.

  Being used to writing in emacs when I need to share documents with others
I use LO's Writer and I'm continually deleting words by automatically
pressing ctrl-d at the end of a line to bring the following line up.

  The path to enlightenment is desired.

PLUG mailing list

PLUG mailing list

Reply via email to