summaryrefslogtreecommitdiff
path: root/.inputrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-11-26 09:01:33 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-11-29 18:36:23 -0700
commit0be414d12c5f171de1d3dbea7cf8ff0ba45de160 (patch)
tree0ca9991cf09215bf31cce710dcb617b3a135d4fc /.inputrc
parent30505fab277f871287c759278e17c1911edbfd5d (diff)
downloaddotfiles-0be414d12c5f171de1d3dbea7cf8ff0ba45de160.tar.gz
tidy up .inputrc
See if we can get away with not including /etc/inputrc. I don't use things like the arrow keys, Home/End, etc., and it simplifies things to be able to assume any settings from the local administrator aren't included.
Diffstat (limited to '.inputrc')
-rw-r--r--.inputrc20
1 files changed, 4 insertions, 16 deletions
diff --git a/.inputrc b/.inputrc
index 3c41d8b5..cf9ea3e8 100644
--- a/.inputrc
+++ b/.inputrc
@@ -1,10 +1,7 @@
-$include /etc/inputrc
-
-# --- bindings
-
"\C-@": set-mark
"\C-x\C-d": kill-region
"\ew": copy-region-as-kill
+"\C-xxg": revert-line
# previous-history, next-history and reverse-search-history are very
# frequently used, so perhaps we shouldn't rebind them, because doing so makes
@@ -14,25 +11,16 @@ $include /etc/inputrc
#
# Don't rebind the commands normally bound to M-p and M-n to C-p and C-n
# because those commands are not very useful, and this way C-p and C-n still
-# have their default bindings, meaning we depart less from standard shells.
+# have their default bindings, meaning we depart a bit less from convention.
"\ep": previous-history
"\en": next-history
"\er": reverse-search-history
"\es": forward-search-history
-"\C-xxg": revert-line
-
-# --- settings
-set editing-mode emacs
-set keymap emacs
-# set convert-meta off
-# set output-meta on
-# set input-meta on
-# set meta-flag on
+set input-meta on
+set output-meta on
set completion-ignore-case on
-# set show-all-if-ambiguous on
-# set show-all-if-unmodified on
set completion-query-items 120
set page-completions off
set print-completions-horizontally on