Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 11 characters in body; edited title
Source Link
Martin Tournoij
  • 63.3k
  • 26
  • 199
  • 274

How do you fix the <kbd>home</kbd>, <kbd>end</kbd>Home and End keys producing 'H' and 'F'?

I recently was doing some vimVim editing and noticed the behavior of vim 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 vim.

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'?

How do you fix the <kbd>home</kbd>, <kbd>end</kbd> keys producing 'H' and 'F'?

I recently was doing some vim editing and noticed the behavior of vim 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 vim.

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'?

How do you fix the Home and End keys producing 'H' and 'F'?

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 vim.

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'?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Source Link

How do you fix the <kbd>home</kbd>, <kbd>end</kbd> keys producing 'H' and 'F'?

I recently was doing some vim editing and noticed the behavior of vim 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 vim.

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'?