Re: Python
c186282 <[email protected]> Fri, 19 Dec 2025 03:30:56 -0500
| Newsgroups | comp.os.linux.misc,alt.folklore.computers,comp.lang.python |
|---|---|
| Organization | wokiesux |
| Message-ID | <[email protected]> |
On 12/19/25 03:18, rbowman wrote: > On Fri, 19 Dec 2025 00:56:11 -0500, c186282 wrote: > >> 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 !!! :-) > > Whatever. I've used it in a pinch but it's definitely my favorite. Hey, super-simple and to the point ... what's not to love ? :-) Anyway, I *do* use it quite a lot, even on short-ish programs. The ed in Midnight Commander is a bit better, AND you can use it easily over SSH.