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. -- https://mail.python.org/mailman3//lists/python-list.python.org
