FG
💻 Software

How to jump to the beginning or end of line in vim + OS X

Fresh5 days ago
Mar 15, 202645077 views
Confidence Score0%
0%

Problem

In terminal I can do this by pressing shift+home and shift+end, but it doesn't seem to work in vim. Home and end keys scroll terminal window only. I would like to jump in edit mode.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to jump to the beginning or end of line in vim + OS X

Low Risk

This answer assumes you are using vim in a Terminal window. The default bindings for Home and End are a bit different from what a program would expect based on the usual TERM setting (i.e. an xterm variant). If you want to stick with the default bin…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment