
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Vim Rebindings (was: Tex Editor Recommendations?)
- Date: Sun, 15 Dec 2024 02:43:11 +0900
- From: "Curt J. Sampson" <cjs@example.com>
- Subject: [tlug] Vim Rebindings (was: Tex Editor Recommendations?)
- References: <ZuVxHNMHYRkKezK6@academic.cynic.net> <l1EZ2CfbC9uIWEbb9Ps2WMQmqwHEc36M27YKPBOvI1vj5Q1Giz8ViCWsn2DIUvxInj_8UDev54k2vpD2XY0SDoUEjYwWX9X6N8l1j4T5UAY=@jmglov.net> <CAH2XypHThQMYtN8xyd=x7qpR_SkU+Uk8acCQC0asBDkOdNrv8A@mail.gmail.com>
On 2024-09-16 12:14 +0900 (Mon), Chris Salisbury wrote:
> Apparently everyone but me likes to remap normal mode 's' to "save" or
> something less useful than the default behavior.
I do this (for both `s` and `S`), and just revisited my decision to do so.
For those not in the know, these commands are:
- `s`/`cl`: replace the character under the cursor with whatever you type
in the insert mode started by the command.
- `S`/`cc`: replace the line under the cursor with whatever you type
in the insert mode started by the command.
I stand by my conclusion that `s` and `S` are definitely keys worth
remapping. `S`/`cc` has _some_ utility, but not as much as "save all
files," given that `cc` is exactly the same number of keystrokes (remember
`S` needs a shift keystroke). And `s`/`cl` is...well, who uses that? I use
a lot of "change my selection" commands, but I do them all with `c`
followed by a move, and remembering `s` as a special case for `cl` is more
work, given how rarely I use `cl`.
> Maybe easier to flame about kakoune/helix claiming they're more efficient
> than vim.
I can't speak for Helix, but Kakoune may be more efficient than Vim once
you get it installed everywhere and get everyone familiar with it.
Unfortunately, in my pair-programming over the past few years with a
Kakoune-using friend, we've spent more time recovering from me typing the
wrong thing into Kakoune than we've saved on whatever it's supposed to
provide in terms of extra efficiency.
cjs
--
Curt J. Sampson <cjs@example.com> +81 90 7737 2974
To iterate is human, to recurse divine.
- L Peter Deutsch
Home |
Main Index |
Thread Index