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
|
########################################################################
## This file configures the behavior of line-input editing for all
## Octave users when Octave is configured to use GNU Readline library
## for input-line editing.
##
## This file is NOT an Octave script.
##
## Do not make changes to this file unless you understand how
## GNU Readline configuration works.
########################################################################
## history-search-backward:
##
## Search backward through the history for the string of characters
## between the start of the current line and the point. This is a
## non-incremental search. Bound to "\e[A", the ANSI escape
## sequence for the UP arrow.
"\e[A": history-search-backward
## history-search-forward:
##
## Search forward through the history for the string of characters
## between the start of the current line and the point. This is a
## non-incremental search. Bound to "\e[B", the ANSI escape
## sequence for the DOWN arrow.
"\e[B": history-search-forward
## Disable Ctrl+v so the usual paste shortcut will work on Windows.
## \C-q should still be available for quoted insert.
"\C-v": ""
## On Windows, disable audible bell which is enabled by default.
$if term=cygwin
set bell-style none
$endif
|