I recently was doing some Vim editing and noticed the behavior was very different for two important keys.
The only difference I made was I started bash using:
env -i bash --init-script ~/.bashrc.custom.sh
I use home, end to move the cursor around in
But instead of home, end moving the cursor... pressing these keys would enter
vim's insert mode and output 'H' and 'F' characters.
I want the old behavior.
When I start
bash normally I get the old behavior.
How do you fix the home, end keys producing 'H' and 'F'?