News for hackers. Stuff that matters.
Re:Why the fuck are we templating YAML? (2019) by michaelmior on Tuesday January 23, 2024 @08:02AM (#39102806)
> And forbidding it makes a one-keystroke action a two or four one.

The majority of editors can be configured to use tab to insert the appropriate number of spaces. Many will automatically detect the correct configuration.

Re:Why the fuck are we templating YAML? (2019) by moffkalast on Tuesday January 23, 2024 @08:15AM (#39102904)
The majority isn't all, and in my experience you always end up having to use one in some random situation that doesn't have that. tap tap tap tap

Literally 100% of editors support tabs.

Re:Why the fuck are we templating YAML? (2019) by Defletter on Tuesday January 23, 2024 @09:53AM (#39104077)
The horror
Re:Why the fuck are we templating YAML? (2019) by moffkalast on Tuesday January 23, 2024 @11:37AM (#39105685)
The attempt on my life has left me scarred and deformed.
Re:Why the fuck are we templating YAML? (2019) by lolinder on Tuesday January 23, 2024 @10:04AM (#39104219)
Which editor have you run into that doesn't? Even nano supports configuring it with both nanorc or a command line flag.
Re:Why the fuck are we templating YAML? (2019) by layer8 on Tuesday January 23, 2024 @11:34AM (#39105635)
HTML textareas don’t support entering tabs.

There are rich-text editors that increase the margin on Tab rather than inserting a tab.