Re: [PATCH 07/12] docs: accounting: update delay-accounting.rst reference

From: Peter Zijlstra
Date: Thu Jun 03 2021 - 03:21:22 EST


On Wed, Jun 02, 2021 at 10:19:40PM +0200, Mauro Carvalho Chehab wrote:
> Em Wed, 2 Jun 2021 20:29:23 +0200
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> escreveu:

> > Afaict both vim (gf) and emacs (M-x ffap) can do this. That covers about
> > 99% of all sane editors no? :-)
>
> Heh, not quite ;-) Here, I use nano(/pico), from the old times where
> (al)pine was my emailer. I can live with vim, but I prefer an editor
> that starts in editing mode.

echo "startinsert" >> ~/.vimrc

> I tried to use emacs a few times, but my fingers are too much into
> pico/nano control keys, so it was ending by making me typing a lot
> slower. Besides that, nano works well on 99% of my daily needs.
>
> When I need more fancy, like regex substitutions, changing/moving
> big code blocks, editing multiple files at the same time, etc,

nano can in fact do the multi-file thing, see nano -F, or add "set
multibuffer" to nanorc.

> then I just use a GUI editor (currently kate, but seeking for
> a good replacement, as some changes during F33 times - still
> present on F34 - caused some regressions).

The fact that you need a second editor; and are looking for a
replacement disqualifies nano (and Kate for that matter) as a sane
editor IMO.

You can ofcourse start extending nano :-)