I hadn’t yet researched whether or not bracketed paste mode is supported by the version of Bash/Readline on my Ubuntu 16.04 system (it isn’t) and out of curiosity, I ran the following command presented in this Ask Ubuntu answer.
As of late, and without my deliberately doing anything to make it happen, my Bash prompt has an at sign (i.e. @
) prepended to it. This did not previously happen. Nor can I see anything in my ~/.bashrc
that seems as though it ought to be making this happen.
When you press Ctrl+L in bash default mode the screen is cleared. But when I run set -o vi
and press Ctrl+L the keystroke is printed (^L
).
Is there any way to keep this behavior?
I want to switch to vi editing mode in a readline environment. But I don’t want to use ‘set -o vi’. I want to temporarily switch using a keyboard shortcut. The man page says I can do this with M-C-j. But that doesn’t work for me.
I have this ~/.inputrc file that I created for certain key bindings.
I’ve been trying to use bash to read a file character by character.