Vim remap visual $ to g_ or to $h #117

Closed
opened 2026-07-02 11:55:58 +02:00 by yestax · 1 comment
Owner

In visual mode when moving to $ it includes the carriage return.

Either remap:

  • $ to g_ (last non blank, equivalent to ^): doesn't include trailing withspaces.
  • $ to $h goes back one char: include whitespace but error on blank lines
In visual mode when moving to $ it includes the carriage return. Either remap: - $ to g_ (last non blank, equivalent to ^): doesn't include trailing withspaces. - $ to $h goes back one char: include whitespace but error on blank lines
yestax added this to the Setup v1.4.X milestone 2026-07-02 11:55:58 +02:00
Author
Owner

Soved by 72f2547bb2

Soved by 72f2547bb2
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yestax/setup#117
No description provided.