@kemona_halftau I currently just use emacs with mostly-default keybindings, but maybe I should change that and learn evil-mode. I find modal editing weird but maybe that’s just because I’m not used to it. The defaults aren’t really designed for modern keyboards, they’re designed for a space-cadet keyboard, which has a load of extra modifiers (which emacs doesn’t use by default but does support) and has the positions of ctrl and meta swapped from modern keyboards (meta = alt on modern keyboards, and what emacs calls alt doesn’t exist) which is why some of the default keybindings seem awkward.
I also want to get some more digital piano pedals and use them as extra modifier keys with a pi pico to translate to USB, but I couldn’t figure out how to get TinyUSB to simulate a HID keyboard (it might be easier to just use USB serial and have a userspace program that sends the keys with uinput)
@hexaheximal @justsoup emacs just handles them badly by default (without something like smart-tabs-mode)
firstly, tabs don’t exactly have a fixed width: they end at the next tab stop and the width is just the distance between the tab stops (this isn’t emacs-specific, that’s just how tabs work). with tabs only at the beginning of the line and not mixing tabs and spaces this shouldn’t matter much
how emacs handles them is it has a tab-width that’s the distance between tab stops, and a separate mode-specific variable (e.g. c-basic-offset for C) that defines the indentation width, in spaces. if indent-tabs-mode is enabled, then it will indent with tabs first and fill the rest with spaces. the problem is that for some things it will try to align, and it will mix tabs and spaces for that (meaning that tab-width actually affects the contents of the file, it’s not just the display width)
smart-tabs-mode fixes this (by making it correctly use tabs for indentation and spaces for alignment), but it’s not the default and requires installing an unmaintained third-party package that requires modifications to work at all