Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc,alt.folklore.computers,comp.lang.python Subject: Re: Python Date: 18 Dec 2025 07:39:03 GMT Lines: 21 Message-ID: References: <10ghqrq$g7pg$1@dont-email.me> <693d5437$0$2499$426a34cc@news.free.fr> <7a611mx9gf.ln2@Telcontar.valinor> <693ea5fa$0$28070$426a74cc@news.free.fr> <10hnh91$1geq0$2@dont-email.me> <10hp0kl$1t75q$1@dont-email.me> <10hsju6$32b9t$3@dont-email.me> <10hv6lg$3rose$1@dont-email.me> <10i090j$2u0m1$1@news1.tnib.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net BD66Hu7GwkHTrDPmKNxRWw7AS3d7WYdm64L9quQkovXkolFq35 Cancel-Lock: sha1:vDybe+cYzZzkQjBIvRBV9pr0wAg= sha256:BBiUL59sbP5/4LvjHxSkbgpuxA7nXXMq3GBFZAGce3Q= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.os.linux.misc:79421 alt.folklore.computers:232669 comp.lang.python:197617 On Thu, 18 Dec 2025 08:03:47 +0100, Marc Haber wrote: > rbowman 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.