diff options
author | Cian Bagshaw <cian@cianb.xyz> | 2024-09-25 23:27:23 +0100 |
---|---|---|
committer | Cian Bagshaw <cian@cianb.xyz> | 2024-09-25 23:27:23 +0100 |
commit | 554ae71136359fa1b5c8b26af9a5a99dd748618f (patch) | |
tree | 714fce06f41c631dbf16d120d6ce4df2037dbb0c /.config/readline | |
parent | cd16a5154761b3c065de7e0c3a82730ee1a025b6 (diff) | |
download | dotFiles-master.tar.bz2 dotFiles-master.zip |
Buffered line input using GNU Readline is now configured globally.
Also, fixed Python Shell Readline history, so it is available for the current
session, though still not saved after that.
Diffstat (limited to '.config/readline')
-rw-r--r-- | .config/readline | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.config/readline b/.config/readline new file mode 100644 index 0000000..39a869f --- /dev/null +++ b/.config/readline | |||
@@ -0,0 +1,29 @@ | |||
1 | # vim: filetype=readline | ||
2 | |||
3 | $include /etc/inputrc | ||
4 | |||
5 | set editing-mode vi | ||
6 | set keyseq-timeout 250 | ||
7 | |||
8 | set colored-stats | ||
9 | set colored-completion-prefix | ||
10 | |||
11 | set completion-ignore-case | ||
12 | set completion-map-case | ||
13 | set mark-symlinked-directories | ||
14 | set show-all-if-ambiguous | ||
15 | set blink-matching-paren | ||
16 | set skip-completed-text | ||
17 | set revert-all-at-newline | ||
18 | |||
19 | "jj": "\e" | ||
20 | |||
21 | Control-l: clear-screen | ||
22 | Control-w: clear-screen line | ||
23 | Control-a: beginning-of-line | ||
24 | Control-e: end-of-line | ||
25 | |||
26 | Control-k: history-search-backward | ||
27 | Control-j: history-search-forward | ||
28 | Control-n: menu-complete | ||
29 | Control-b: menu-complete-backward | ||