I might use arrow keys to go back and edit a flag when typing a command in my prompt and doing so constantly kicks me back from insert mode to normal mode. How do I turn this off so it matches the behavior of vim?
also in vim I can do this to get rid of the warning bells (which I use in some scenarios, so I dont want to mute them terminal wide) whenever a command is issued in normal mode that is unbound:
set noerrorbells visualbell t_vb=
autocmd GUIEnter * set visualbell t_vb=
Is there a way to turns system bells off for just the prompt?
edit to provide more information:
this is using reflection terminal editor or sshing through powershell. $TERM is set to xterm-256color in my .profile but commenting that out I get xterm in reflection and vt100 when using powershell. terminfo shows the term matching $TERM in all 3 cases and prompt behavior is the same in all configurations
OS is RHEL, the escape keys for my arrow keys are "\EOA \EOC \EOB \EOD" clockwise starting from arrow up which matches infocmp