lichray / nvi2

A multibyte fork of the nvi editor for BSD
Other
144 stars 34 forks source link

Let the cursor move left and right beyond column bounds #95

Closed frno7 closed 3 years ago

frno7 commented 3 years ago

Moving left beyond column 0 moves up a line, and moving right beyond last column moves down a line. This cursor movement is more permissive and similar to many if not most other editors. It makes logical sense too. The historical special case [cdsy]l at the end of a line works as well. The newline is included if a motion count greater than one is given.

lichray commented 3 years ago

The main purpose of this project is to provide a Vi implementation for modern BSDs. This editor is used by many system admins to set up and diagnose boxes without their personal configurations. So, the minimal requirements of a behavior change are:

  1. By default, the behavior must match existing users' habits. If there are some corner cases that are definitely not by-design and are wasting people's time, we might fix those.
  2. Without strong motivation, don't introduce configurable features. Examples of features with strong motivation include expandtab.

I'm not seeing how the proposed change fits into the big picture.

frno7 commented 3 years ago

Right. I’ll fork, then.