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 18:38:31 GMT Lines: 33 Message-ID: References: <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 Rqx5noD0zsdHFdX5mka9hwvAZOmRufY2NydHDr7Uo0tciVtRWx Cancel-Lock: sha1:8XULBayn8bHBVkd1mOhfmSZ4IT8= sha256:phDOaw6yMvA7t4XqNK8dI2ZDRm9HdclOroG7Rh954pw= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.os.linux.misc:79440 alt.folklore.computers:232683 comp.lang.python:197626 On Thu, 18 Dec 2025 15:43:49 GMT, Scott Lurndal wrote: > rbowman writes: >>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. > > :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'?'