Elektrine lite

← Feed

@witchgirls@woof.tech

Post #2855506

2026-05-15 14:31 UTC

Here's another pet-peeve: Tab key should insert one level of indentation, and Delete key should remove one level of indentation, like normie text editors do it. I prefer "one level of indentation" to mean "four spaces" most of the time, but I'm flexible on the method. I just want it to work like that. Apparently making Delete key delete indentation instead of just one space is easy: (setq backward-delete-char-untabify-method 'hungry) Except, this doesn't remove JUST one indentation (four spaces), but all the whitespace at once. There is no option to make it remove just one level I think :blobfoxthinkanime: This is probably just something I have to get used to, unless an Emacs Wizard tells me how to change it.

Replies (2)

  • @witchgirls@woof.tech 2026-05-15 16:21

    Okay, that's enough for day1 of #emacs I'd say. I didn't install any packages except for visual stuff - spacious-padding, doom-themes and doom-modeline I am very picky on syntax highlighting and the only theme I can bear is Ayu and MAYBE gruvbox. I really didn't like any of the other modus- or ef- themes so... As for the modeline, I just went with what I know that looks good :blobcatgooglyshrug: Next day I think I will focus on normiefying the keybindings.

    Open ##2855507

  • @witchgirls@woof.tech you might be able to tweak electric-indent-mode to do what you want here.

    Open ##2855522