Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

33 строки
1.0 KiB
Plaintext

2021
https://habr.com/ru/company/lanit/blog/537596/
emacs-mode:
http://www.gnu.org/software/bash/manual/html_node/Bindable-Readline-Commands.html
http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/
https://help.ubuntu.com/community/AdvancedCommandlineHowto
readline, ~./inputrc:
http://stackoverflow.com/questions/4094828/msysgit-bash-how-to-enable-ctrlleft-right-arrows
http://stackoverflow.com/questions/5029118/bash-ctrl-to-move-cursor-between-words-strings
vi-mode:
set -o vi
~/.inputrc
set show-mode-in-prompt on
http://stackoverflow.com/questions/1039713/different-bash-prompt-for-different-vi-editing-mode
https://gist.github.com/ethagnawl/86a0284c990196ae31b7
# requires >= Bash 4.3
# note: the prompt will not be updated if you use a custom PS1 which contains a newline character
set editing-mode vi
set keymap vi-command
set show-mode-in-prompt on
# if it's configured correctly, your prompt will be prefixed with a `+` while in insert mode and a `:` when in command mode.