Comment

Comment by wruza

I have a repeating memory of using R in C-v context, but can’t think of an example. Vim is really reflective. I suspect r doesn’t work in block visuals, which I use often. Need to test.

Nonetheless, normal R is a useful function for editing tables and other ascii art-y texts. How can you not need it?

For non-vimers who haven’t read tfa: R turns on overwrite mode akin to pressing Ins in command line. r uses temporary replace mode for a single character. Rtext<Esc> replaces four chars, rt replaces current char to t. In both cases we start and end in normal mode.

parent wruza 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton