/usr/share/epic4/script/vi-binds is in epic4 1:2.10.6-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | #
# This script makes an attempt to simulate vi keybindings using the
# ^E sticky keybinding. Who knows how successful I will be...
# This is very much a work in progress. Not every vi keybinding maps
# nicely to an ircII keybinding. Some of these new keybindings can just
# as well be added to epic, some of them may never be. Suggestions for
# improvements are always welcome.
#
bind ^E ^E
bind ^E0 BEGINNING_OF_LINE
bind ^E$$ END_OF_LINE
bind ^Ew FORWARD_WORD
bind ^EW FORWARD_WORD
bind ^Eb BACKWARD_WORD
bind ^EB BACKWARD_WORD
#bind ^Ee <end of current word>
#bind ^EE <end of current word>
bind ^Ea parse_command {
parsekey FORWARD_CHARACTER
# Insert mode?
}
bind ^EA parse_command {
parsekey END_OF_LINE
# Insert mode?
}
#bind ^Er <overwrite mode>
#bind ^ER <delete line -- overwrite mode -- ^E>
bind ^Ep YANK_FROM_CUTBUFFER
bind ^Ex DELETE_CHARACTER
bind ^EX BACKSPACE
#bind ^Ey <???>
#bind ^EY <???>
#bind ^Ei <insert-mode>
#bind ^EI <start-of-line + insert-mode>
bind ^Eh BACKWARD_CHARACTER
bind ^El FORWARD_CHARACTER
bind ^Ek BACKWARD_HISTORY
bind ^Ej FORWARD_HISTORY
#bind ^Eu <Undo -- not possible>
#bind ^EU <Undo -- not possible>
#bind ^Ecw <delete word -- insert mode>
#bind ^EcW <delete word -- insert mode>
#bind ^Ecb <delete to start-of-word -- insert mode>
#bind ^EcB <delete to start-of-word -- insert mode>
#bind ^Ec$$ <delete to end-of-line -- insert mode>
#bind ^EC <delete to end-of-line -- insert mode>
#bind ^Ec0 <delete to start-of-line -- insert mode
bind ^Edd ERASE_LINE
bind ^ED ERASE_TO_END_OF_LINE
#bind ^Edw <delete word>
#bind ^EdW <delete word>
#bind ^Edb <delete to start of word>
#bind ^EdB <delete to start of word>
#bind ^Ed$$ <delete to end of line>
#bind ^Ed0 <delete to start of line>
#hop'y2k
|