News for hackers. Stuff that matters.
Re:Why the fuck are we templating YAML? (2019) by magicalhippo on Tuesday January 23, 2024 @08:36AM (#39103116)
For code I'd agree. However for configuration files, I find that I often need to edit them in places or environments where I don't have anything but the most bare-bones editor.
Re:Why the fuck are we templating YAML? (2019) by lolinder on Tuesday January 23, 2024 @10:02AM (#39104202)
A quick search shows that even nano can be configured to use whatever number of spaces you want when you hit tab:

https://askubuntu.com/questions/40732/how-do-i-get-spaces-in...

Re:Why the fuck are we templating YAML? (2019) by magicalhippo on Tuesday January 23, 2024 @10:23AM (#39104573)
I consider Nano a fully fledged editor. I'm talking Notepad or a html text box.
Re:Why the fuck are we templating YAML? (2019) by lolinder on Tuesday January 23, 2024 @10:29AM (#39104674)
Oh. Windows with no ability to install anything didn't even occur to me! I'm truly sorry.
Re:Why the fuck are we templating YAML? (2019) by layer8 on Tuesday January 23, 2024 @11:29AM (#39105539)
When this happens, I copy four spaces and then use Ctrl+V for Tab.

Yes, it’s not exactly the same due to alignment, and yes you have to repeat it after using the clipboard for other purposes, but it’s good enough for that occasional use.