From: Thomas Nemeth <tnemeth@free.fr>
To: Johannes Sixt <j6t@kdbg.org>, git@vger.kernel.org
Subject: Re: Git trailing blank lines feature configuration
Date: Sun, 02 Aug 2026 10:21:21 +0200 [thread overview]
Message-ID: <2845859.mvXUDI8C0e@cixi> (raw)
In-Reply-To: <48771457-9f10-4176-897a-f8af2606bf2d@kdbg.org>
Le samedi 1 août 2026, 23:05 Johannes Sixt a écrit :
> Am 01.08.26 um 10:48 schrieb Thomas Nemeth:
> > If I need to move a previously static function at the end of the
> > public functions section, I switch to VISUAL, select the function
> > to be moved with the blank lines above (I like having neatly
> > spaced
> > code) _and_ including the eol of the function last line.
> > Then I delete it (d), I move to EOF (:$). As the line is blank I
> > just have to paste (p) it back there. The function is moved. The
> > last
> > blank line is kept for other code movements.
>
> Sounds like you are using character-wise visual mode (v) instead of
> line-wise mode (V). Use line-wise operations, and these problems are
> gone.
>
> Oh, and BTW, just use G instead of :$<Enter>
Old habits don't die easily ;)
--
Thomas.
next prev parent reply other threads:[~2026-08-02 8:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-31 10:19 Git trailing blank lines feature configuration Thomas Nemeth
2026-07-31 11:08 ` Johannes Sixt
2026-07-31 11:50 ` Thomas Nemeth
2026-08-01 0:05 ` Ben Knoble
2026-08-01 8:48 ` Thomas Nemeth
2026-08-01 21:05 ` Johannes Sixt
2026-08-02 8:21 ` Thomas Nemeth [this message]
2026-07-31 18:49 ` Junio C Hamano
2026-08-01 8:21 ` Thomas Nemeth
2026-07-31 15:50 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2845859.mvXUDI8C0e@cixi \
--to=tnemeth@free.fr \
--cc=git@vger.kernel.org \
--cc=j6t@kdbg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.