Closed GunGunGun closed 3 weeks ago
From tcell.KeyRune
:
KeyRune is special however, in that it is a place holder key indicating that a printable character was sent. The actual value of the rune will be transported in the Rune of the associated EventKey.
To put it simple, Rune[x]
just means character x
. For instance, Rune[j]
just means character j
. Furthermore, to override the default keybinding to copy the selected message, you can modify the keys.messages_text.yank
value:
[keys.messages_text]
yank = "Ctrl+F" # default: Rune[y]
The DefaultConfig
function in the config
package (located in the internal
directory) contains all of the default keybindings.
I tried to add key to copy selected message, I pressed Ctrl+F and nothing happens.
And I don't know how to use Rune ?
Did I do anything wrong ? I'm using Lubuntu LTS.