view scripts/startup/inputrc @ 17804:f3e25230b1f3

use QCoreApplication if starting with --no-gui * octave-gui.cc (octave_start_gui): Use QApplication when starting the GUI and QCoreApplication if not. (octave_cli_thread::run): Call QCoreApplication::exit instead of QApplication::exit.
author John W. Eaton <jwe@octave.org>
date Wed, 30 Oct 2013 02:08:41 -0400
parents 18d3c1b981e7
children 3ed674758e0d 446c46af4b42
line wrap: on
line source

## 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

## Disable so the usual paste shortcut will work on Windows systems.
## \C-q should still be available for quoted insert.

"\C-v": ""