diff options
Diffstat (limited to 'home/xyz/.config/readline/inputrc')
| -rw-r--r-- | home/xyz/.config/readline/inputrc | 34 | 
1 files changed, 34 insertions, 0 deletions
diff --git a/home/xyz/.config/readline/inputrc b/home/xyz/.config/readline/inputrc new file mode 100644 index 00000000..a666b091 --- /dev/null +++ b/home/xyz/.config/readline/inputrc @@ -0,0 +1,34 @@ +$include /etc/inputrc + +# from archwiki realine +# Color files by types +# Note that this may cause completion text blink in some terminals (e.g. xterm). +set colored-stats On +# Append char to indicate type +set visible-stats On +# Mark symlinked directories +set mark-symlinked-directories On +# Color the common prefix +set colored-completion-prefix On +# Color the common prefix in menu-complete +set menu-complete-display-prefix On + +# https://github.com/LukeSmithxyz/voidrice/blob/2440ad83e9e9cf2f927efbaef618513e0df3cbda/.config/shell/inputrc +set editing-mode vi +$if mode=vi + +	set show-mode-in-prompt on +	set vi-ins-mode-string \1\e[6 q\2 +	set vi-cmd-mode-string \1\e[2 q\2 + +	#set keymap vi-command +	# these are for vi-command mode +	#Control-l: clear-screen +	#Control-a: beginning-of-line + +	set keymap vi-insert +	# these are for vi-insert mode +	Control-l: clear-screen +	#Control-a: beginning-of-line + +$endif  | 
