serii81
@serii81
Я люблю phр...

Как использовать горячие клавиши от vim в bash terminal?

До этого пользовался zsh, там в .zshrc прописал bindkey -v, наверно, уже точно не помню. А в bash как использовать горячие клавиши vim?
Заранее благодарен.
  • Вопрос задан
  • 390 просмотров
Пригласить эксперта
Ответы на вопрос 1
@hobo-mts
Shortly
READLINE
This is the library that handles reading input when using an interactive shell, unless the --noediting option is given at shell invocation. Line is also used when using the -e option to the read builtin. By default, the line editing commands are similar to those of emacs. A vi-style line interface is also available. Line editing can be enabled at any time using the -o emacs or -o vi options to the set builtin (see SHELL BUILTIN below). To turn off line editing after the shell is running, use the +o emacs or +o vi options to the set builtin.

При этом вначале редактирования будет режим вставки. Для перехода в нормальный -- ESC
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы