Skip to main content
deleted 51 characters in body
Source Link
MC68020
  • 8.6k
  • 3
  • 25
  • 52

I was wondering if it is possible in my .Xcompose file to have a compose sequence that also moves the cursor.

For example, if I have

<Multi_key> <c> <n> <w> : "<code><nowiki></nowiki></code>"

Is it possible to make it so that I can choose where the text cursor will be? In this example, it should be like

<code><nowiki>CURSOR HERE</nowiki></code>

If it's not possible via a compose key, is there any other way to do so?

Sorry if this is a stupid question ¯\_(ツ)_/¯

I was wondering if it is possible in my .Xcompose file to have a compose sequence that also moves the cursor.

For example, if I have

<Multi_key> <c> <n> <w> : "<code><nowiki></nowiki></code>"

Is it possible to make it so that I can choose where the text cursor will be? In this example, it should be like

<code><nowiki>CURSOR HERE</nowiki></code>

If it's not possible via a compose key, is there any other way to do so?

Sorry if this is a stupid question ¯\_(ツ)_/¯

I was wondering if it is possible in my .Xcompose file to have a compose sequence that also moves the cursor.

For example, if I have

<Multi_key> <c> <n> <w> : "<code><nowiki></nowiki></code>"

Is it possible to make it so that I can choose where the text cursor will be? In this example, it should be like

<code><nowiki>CURSOR HERE</nowiki></code>

If it's not possible via a compose key, is there any other way to do so?

Source Link

Move text cursor with compose key sequence

I was wondering if it is possible in my .Xcompose file to have a compose sequence that also moves the cursor.

For example, if I have

<Multi_key> <c> <n> <w> : "<code><nowiki></nowiki></code>"

Is it possible to make it so that I can choose where the text cursor will be? In this example, it should be like

<code><nowiki>CURSOR HERE</nowiki></code>

If it's not possible via a compose key, is there any other way to do so?

Sorry if this is a stupid question ¯\_(ツ)_/¯