Deutsch   English   Français   Italiano  
<vhklo9$2vjs$6@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Chris Ahlstrom <OFeem1987@teleworm.us>
Newsgroups: comp.os.linux.misc
Subject: Re: What programs do you make sure are installed on a new Linux
Date: Wed, 20 Nov 2024 07:47:05 -0500
Organization: None
Lines: 56
Message-ID: <vhklo9$2vjs$6@dont-email.me>
References: <slrnv8npnn.bsh9.candycanearter07@candydeb.host.invalid>
 <sGrAJE.11yAF@yahoo.com> <vh68a8$pb6$2@reader1.panix.com>
 <PrqdnTeH-sotTqf6nZ2dnZfqn_WdnZ2d@earthlink.com>
 <vhfjd1$19ih8$1@dont-email.me> <vhfq52$1au9f$3@dont-email.me>
 <vhi0f0$1qqg9$7@dont-email.me> <vhi6v2$1sfdo$1@dont-email.me>
 <sH5%O.193194$pZ%.186856@fx16.iad> <vhj1le$21ps0$2@dont-email.me>
 <Aqa%O.174958$Oi5e.118867@fx15.iad> <vhjd8u$23v6c$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 20 Nov 2024 13:47:05 +0100 (CET)
Injection-Info: dont-email.me; posting-host="c1e6c11cd6768b2f495e7998f10f7063";
	logging-data="97916"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19lG6QZTxdDeQ4PYJqbGgBd"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:PAfESBXly7Q5obNWf+Hh48ptV5g=
X-Mutt: The most widely-used MUA
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Slrn: Why use anything else?
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
 Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
 A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
Bytes: 3569

Lawrence D'Oliveiro wrote this post while blinking in Morse code:

> On Wed, 20 Nov 2024 00:53:52 GMT, Charlie Gibbs wrote:
>
>> ... it's often nice not to have to move your hands out of home
>> position.
>
> That “advantage” makes no sense to me. My hands move all over the place -- 
> to the various parts of the keyboard, and to the mouse, and other controls 
> -- wherever I need to operate something. Going back to home position is 
> something you can do by touch, very quickly, anyway. (That’s what those 
> little nubs are for.)
>
>>>> For sheer economy of keystrokes, vi(m) is hard to beat.
>> 
>> One keystroke is pretty cheap in the scheme of things.
>
> You were saying ... ?
>
>> ...  And not all
>> editors can easily do things I use a lot in vi(m), such as placing the
>> cursor on a brace, bracket, or parenthesis and jumping to the
>> corresponding one.
>
> Surely all the common editors can do that. What about moving between lines 
> with matching indentation -- handy for Python programming?

    https://stackoverflow.com/questions/61435894/autoindentation-in-vim-for-python

    But 'smartindent' is not really that appropriate for Python (as you can
    guess by it handling curly braces.) Instead, you'll want to use filetype
    indent on in order to load per-filetype indentation rules, which should
    load appropriate indentation for Python when you edit Python sources.

    I'd recommend that you add this to your vimrc:

        filetype plugin indent on

I'm not bothering to verify this.

Or you could try

    https://github.com/mathialo/bython

    Bython

    Python with braces. Because Python is awesome, but whitespace is awful.

    Bython is a Python preprosessor which translates curly brackets into
    indentation.

:-D

-- 
Shedenhelm's Law:
	All trails have more uphill sections than they have downhill sections.