File: inputrc.sample

package info (click to toggle)
yafc 1.1.1.dfsg.1-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,244 kB
  • ctags: 1,679
  • sloc: ansic: 19,338; sh: 10,365; makefile: 155; perl: 38; ruby: 33
file content (34 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (9)
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
# sample settings for readline
# insert in your ~/.inputrc if you like...
# see manpage for readline(3) for further details

# contitionally parse if we are running yafc
$if yafc

# if you like vi
#set editing-mode vi

# this is home/end/del on my pc keyboard
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[3~": delete-char

C-d: possible-completions

# make <up> and <down> search in history
"\e[A": history-search-backward
"\e[B": history-search-forward

# this makes alt-w, alt-d, alt-c, alt-z issue
# a ls, ll, clear-screen and cdup, respectively
"\ew": "ls
"
"\ed": "ll
"
"\ec": clear-screen
"\ez": "cdup
"

$endif

# end of inputrc file