]> git.wh0rd.org - home.git/blobdiff - .inputrc
nanorc: update bindings
[home.git] / .inputrc
index 5a53eafc5068677389c3564f4f6f7446525183ce..30bd90e482f0722e5298d5250e375a0ecf269f04 100644 (file)
--- a/.inputrc
+++ b/.inputrc
@@ -1 +1,35 @@
-set show-all-if-ambiguous on
+set bell-style off
+#set completion-ignore-case on
+#set expand-tilde on
+set match-hidden-files off
+#set show-all-if-ambiguous on
+set show-all-if-unmodified on
+set mark-symlinked-directories on
+set match-hidden-files off
+set skip-completed-text on
+set visible-stats on
+set blink-matching-paren on
+set colored-stats on
+set colored-completion-prefix off
+# https://cirw.in/blog/bracketed-paste
+set enable-bracketed-paste on
+
+# alt+k to delete back a word (like alt+backspace)
+"\ek": backward-kill-word
+
+# alt + arrow key
+"\e[1;3C": forward-word
+"\e[1;3D": backward-word
+# ctrl + arrow key
+"\e[1;5C": shell-forward-word
+"\e[1;5D": shell-backward-word
+# meta + arrow key
+"\e[1;9C": forward-word
+"\e[1;9D": backward-word
+
+# mappings for "page up" and "page down" to step to the beginning/end
+# of the history
+"\e[5~": history-search-backward
+"\e[6~": history-search-forward
+
+$include /etc/inputrc