Bind Ctrl+Down in Joe on a Linux console
3
votes
1
answer
196
views
When I want to select a line in
joe
editor, I can go to the beginning and simply pres CTRL-Down and this will select the line. I can move somewhere ales and copy the line with CTRL-k-c.
The key code corresonding to CTRL-Down is ^[[1;5B
and I see this is defined in joe's config file /etc/joe/joerc
:
dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ [ 1 ; 5 B Mark down
The above described works when I am in a virtual terminal, i.e. terminator
. When I am in a console (i.e. CTRL-ALT-F2, it does not work anymore. Moreover, I have noticed that when I pres CTRL-Down in console, I get another code: ^[[B
.
I am using console a lot and I would like to have the possibility to use the "Mark Down" feature. Is there any way to do it?
Asked by Martin Vegter
(598 rep)
Oct 2, 2014, 01:35 AM
Last activity: Oct 6, 2014, 12:06 PM
Last activity: Oct 6, 2014, 12:06 PM