]> git.wh0rd.org - home.git/blobdiff - .inputrc
PS1: shorten slightly & add PS0 recovery
[home.git] / .inputrc
index 075357836897571fa2a3c1b71aee5df02f69b1d6..30bd90e482f0722e5298d5250e375a0ecf269f04 100644 (file)
--- a/.inputrc
+++ b/.inputrc
@@ -4,12 +4,30 @@ set bell-style off
 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
 
-# konsole (alt + arrow key)
+# alt + arrow key
 "\e[1;3C": forward-word
 "\e[1;3D": backward-word
-# mappings for "page up" and "page down" to step to the beginning/end 
+# 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