blob: e663e57f9b97fd79c6f22ec37b1de604d2c56244 (
plain) (
blame)
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
|
set bell-style none
set editing-mode emacs
# Colored completions
set colored-stats on
set colored-completion-prefix on
# Complete prefix and show choices on one tab
set show-all-if-ambiguous on
$if editing-mode == vi
# Change cursor to a bar when in insert mode
set show-mode-in-prompt on
# Taken straight from the Arch Wiki
$if term == linux
set vi-ins-mode-string "\1\e[?0c\2"
set vi-cmd-mode-string "\1\e[?8c\2"
$else
set vi-ins-mode-string "\1\e[6 q\2"
set vi-cmd-mode-string "\1\e[2 q\2"
$endif
$endif
$if Bash
$if editing-mode == vi
C-p: "| $PAGER"
C-t: reverse-search-history
$endif
C-o: "./..."
$endif
set keymap vi-command
€: end-of-line
set keymap vi-insert
C-l: clear-screen
|