File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -514,10 +514,10 @@ run '~/.tmux/plugins/tpm/tpm'
514514
515515=== Terminal shell with Bash, and the GNU Readline Library
516516
517- Other shells have their own Readline editor. eg Zsh Line Editor (ZLE).
517+ Other shells have their own readline editor. eg Zsh Line Editor (ZLE).
518518The Fish shell also has it's own readline editor.
519519
520- Bash by default has the GNU Readline library.
520+ The Bash shell by default uses a separate tool named the GNU Readline library.
521521
522522https://tiswww.cwru.edu/php/chet/readline/rltop.html
523523
@@ -529,6 +529,23 @@ The setting for Vi key bindings is:
529529....
530530# ~/.inputrc
531531set editing-mode vi
532+ set bell-style visible
533+ set blink-matching-paren on
534+ set colored-completion-prefix on
535+ set colored-stats on
536+ set completion-ignore-case on
537+ set completion-map-case on
538+ set history-size 100
539+ set show-mode-in-prompt on
540+ #set vi-ins-mode-string \1\e[6 q\2
541+ #set vi-cmd-mode-string \1\e[2 q\2
542+ $if term=linux
543+ set vi-ins-mode-string \1\e[?0c\2
544+ set vi-cmd-mode-string \1\e[?8c\2
545+ $else
546+ set vi-ins-mode-string \1\e[6 q\2
547+ set vi-cmd-mode-string \1\e[2 q\2
548+ $endif
532549....
533550
534551
You can’t perform that action at this time.
0 commit comments