On 12/18/25 13:38, rbowman wrote:
On Thu, 18 Dec 2025 15:43:49 GMT, Scott Lurndal wrote:
rbowman <[email protected]> writes:
On Thu, 18 Dec 2025 08:03:47 +0100, Marc Haber wrote:
rbowman <[email protected]> wrote:
I keep it simple and use the first column, s/^/#/ in vim. s/^#// to
make them go away.
Ctrl-V, down, I, '# ', Escape.
Those block commands are great! How have I ever lived without them?
Learned something new. I seldom, if ever, use the visual mode so I mark
the end of the block and use the :.,'as/^/#/ form. Years of muscle
memory. I have a book on Vim somewhere. What it pointed out to me is how
much functionality Vim has that I don't use. I learned one way to skin a
cat long ago and stuck with it. For example I use :new foo.txt to get
two vertically stacked panes. I know you can do side by side panes but
I never do.
:sp[lit]
:vs[plit]
also work. I generally divide the vim screen into four 100 column wide
panes.
I'd screw that up. I use i3/sway and I have a moment of hesitation of
whether Meta-h or Meta-v is going to split the way I want. 'I want two
panes stacked vertically so that's 'h'. Or is it 'v'?'
NANO !!! :-)
--
https://mail.python.org/mailman3//lists/python-list.python.org