Skip to content

Commit 3edcd71

Browse files
committed
updates
1 parent 42864a5 commit 3edcd71

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.adoc

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff 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).
518518
The 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

522522
https://tiswww.cwru.edu/php/chet/readline/rltop.html
523523

@@ -529,6 +529,23 @@ The setting for Vi key bindings is:
529529
....
530530
# ~/.inputrc
531531
set 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

0 commit comments

Comments
 (0)