summaryrefslogtreecommitdiffstats
path: root/.inputrc
blob: 6f581073c2f92dbb38302f8ca6578ea5092d2cbc (plain)
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
# Map (UTF-8) non-breaking space to regular space, in case the user
# accidentally types Option-Space or Shift-Space when they meant Space.
"\xC2\xA0": " "

"\eo": "\C-p\C-a\ef "
$if mode=emacs
    "\ei": overwrite-mode
    "\ew": kill-region
    #"\C-w": kill-region
    #"\ew": copy-region-as-kill
    "\e ": set-mark
$endif

# Incremental searching with Up and Down
"\e[A": history-search-backward
"\e[B": history-search-forward

# Make Meta+S cycle through the list of completions
"\em": menu-complete

# autocomplete by pressing Tab
Tab: complete

# edit single line
#set horizontal-scroll-mode on

set visible-stats On
set mark-modified-lines On
set mark-directories On
set page-completions On
set skip-completed-text On
set match-hidden-files Off
set show-all-if-ambiguous On
# to make <delete> key work in Suckless Terminal
set enable-keypad on

# disable beep
set bell-style none