]> Creatis software - CreaPhase.git/blobdiff - octave_packages/m/startup/inputrc
update packages
[CreaPhase.git] / octave_packages / m / startup / inputrc
diff --git a/octave_packages/m/startup/inputrc b/octave_packages/m/startup/inputrc
new file mode 100644 (file)
index 0000000..2adb532
--- /dev/null
@@ -0,0 +1,21 @@
+## 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.
+
+## 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