Ticket #2837 (new enhancement)

Opened 7 years ago

Last modified 7 years ago

Home and End key definitions

Reported by: gv Owned by:
Priority: minor Milestone: Future Releases
Component: mc-tty Version: master
Keywords: Cc: gabriel@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Home and End keys in wterm are different from the one in xterm. Because of that you cannot use Ctrl-Home and/or Ctrl-End to go to the beginning and/or the the end of the file in mcview. Since mc cannot learn this key combination I made a simple patch so fix that.

Attachments

mc-wterm.patch (416 bytes) - added by gv 7 years ago.

Change History

Changed 7 years ago by gv

comment:1 Changed 7 years ago by gv

  • Cc gabriel@… added

comment:2 Changed 7 years ago by andrew_b

  • Component changed from mc-core to mc-tty

comment:3 follow-up: ↓ 4 Changed 7 years ago by angel_il

Since mc cannot learn this key combination

btw: you can redifine this combinations into /home/holmes/.config/mc/ini file
for example:

[terminal:xterm]
ctrl f9=\\e[20\;5
ctrl f1=\\e[11\;5
ctrl f2=\\e[12\;5
ctrl f3=\\e[13\;5
ctrl f4=\\e[14\;5
ctrl alt right=\\e\\e[C
ctrl alt left=\\e\\e[D
ctrl alt up=\\e\\e[A
ctrl alt down=\\e\\e[B

comment:4 in reply to: ↑ 3 Changed 7 years ago by gv

Replying to angel_il:

btw: you can redifine this combinations into /home/holmes/.config/mc/ini file

Thanks. I did not know this trick.

Note: See TracTickets for help on using tickets.