All pastes #1788595 Raw Edit

Anonymous

public text v1 · immutable
#1788595 ·published 2010-02-07 00:51 UTC
rendered paste body
## Mandrake Linux Configuration
# (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>, Pablo Saratxaga <pablo@mandrakesoft.com>
#	$Id: inputrc,v 1.7 2002/08/26 13:01:26 warly Exp $


# Show all if ambigious.
set show-all-if-ambiguous on

# 8Bits supports.
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on

# bash completions does not use more
set page-completions off
set completion-query-items 500
set mark-symlinked-directories on
set show-all-if-ambiguous on
set visible-stats on

# definition of keys in vi mode if vi mode is set at login result
# in totally messed up command line... so it safer to activate it
# only for emacs mode; until the bug is fixed (in libreadline?)
$if mode=emacs

# Keyboard configuration
"[2~": yank			# Insert
"[3~":delete-char		# Suppr

"[1~": beginning-of-line	# Home
"[4~": end-of-line		# End

#"[5~": previous-history	# Previous
#"[6~": next-history		# Next
"[5~": history-search-backward       # Previous
"[6~": history-search-forward        # Next


# those two are for rxvt
"\e[7~":beginning-of-line
"\e[8~":end-of-line

# on some xterm
"\e[H": beginning-of-line
"\e[F": end-of-line

# on nxterms
"\e[\C-@": beginning-of-line
"\e[e": end-of-line

$if term=xterm
#
# Application keypad and cursor of xterm
# with NumLock ON
#
# Operators
"\eOo":         "/"
"\eOj":         "*"
"\eOm":         "-"
"\eOk":         "+"
"\eOl":         "+"
"\eOM":         accept-line

# Colon and dot
# "\eOl":	","
"\eOn":		"."

# Numbers
"\eOp":         "0"
"\eOq":         "1"
"\eOr":         "2"
"\eOs":         "3"
"\eOt":         "4"
"\eOu":         "5"
"\eOv":         "6"
"\eOw":         "7"
"\eOx":         "8"
"\eOy":         "9"
$endif

#
# Application keypad and cursor of xterm
#
"\eOD":         backward-char
"\eOC":         forward-char
"\eOA":         previous-history
"\eOB":         next-history
"\eOE":         re-read-init-file

# emacs mode
$endif

"": "|"
"": "~/"
"": "\"
"": "^"
"": "`"
Control-l: "|less"
Control-g: "|grep "
Control-t: "|sort "
#Control-l: dump-functions
#shift-tab:
"[Z": dynamic-complete-history
#ctrl-up # '1;' versions are for a terminal window in vnc
	 # 'O' versions are for a putty terminals in windows
"[5A": history-search-backward
"[1;5A": history-search-backward
"OA": history-search-backward
#ctrl-down
"[5B": history-search-forward
"[1;5B": history-search-forward
"OB": history-search-forward
#ctrl-left
"[5D": backward-word
"[1;5D": backward-word
"0D": backward-word
#ctrl-right
"[5C": forward-word
"[1;5C": forward-word
"0C": forward-word
#ctrl-insert
"[2;5~": yank-last-arg
#shift-del
"[3;2~": kill-word
#ctrl-del
"[3;5~": kill-line
#Control-Rubout: unix-word-rubout
#ctrl-home
#"OH": yank-nth-arg
#ctrl-end
#"OF": yank-last-arg
#Control-enter: operate-and-get-next