recentpopularlog in

Copy this bookmark:





to read

bookmark detail

How to Set Readline key bindings in both vi-command and vi-insert modes - Unix & Linux Stack Exchange | https://unix.stackexchange.com/
The "bind" keyword should not be in inputrc. The following inputrc works as intended. Ctrl-B transpose words in both insert and command mode:
<code class="language-bash">
set editing-mode vi
$if mode=vi
set keymap vi-command
Control-b: transpose-words
set keymap vi-insert
Control-b: transpose-words
$endif
</code>
readline  inputrc  vikeybindings  configfile 
december 2019 by kme
view in context