Code Snippets Readline Config

Short texts Readline Config 🧑‍💻 Code snippets Readline Config ✍️ Reading lists Readline Config 👀

an example of ~/.inputrc

# Readline 是 GNU Project 的给 Bash 和 CLI-interface 程序用于和命令行编辑/交互的库 # ~/.inputrc 控制 Readline 库行为,如 # # to avoid strange things like # https://bbs.archlinux.org/viewtopic.php?id=112537 $include /etc/inputrc # – editing mode ————————————————————— # 交互模式下 Bash 的行编辑用 emacs 还是 vim 风格,默认 emacs 风格,否则设置: # set editing-mode vi # # Mode indicator in prompt # # Vi-style editing […]