summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/python2
-rw-r--r--.config/readline29
2 files changed, 30 insertions, 1 deletions
diff --git a/.config/python b/.config/python
index e026454..94a4e40 100644
--- a/.config/python
+++ b/.config/python
@@ -3,4 +3,4 @@
3 3
4# disable history 4# disable history
5import readline 5import readline
6readline.set_auto_history(False) 6readline.write_history_file = lambda *args: None
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
5set editing-mode vi
6set keyseq-timeout 250
7
8set colored-stats
9set colored-completion-prefix
10
11set completion-ignore-case
12set completion-map-case
13set mark-symlinked-directories
14set show-all-if-ambiguous
15set blink-matching-paren
16set skip-completed-text
17set revert-all-at-newline
18
19"jj": "\e"
20
21Control-l: clear-screen
22Control-w: clear-screen line
23Control-a: beginning-of-line
24Control-e: end-of-line
25
26Control-k: history-search-backward
27Control-j: history-search-forward
28Control-n: menu-complete
29Control-b: menu-complete-backward