3 ms·
How do you indent with spaces instead of tabs?
by cm3 14y ago
How do you indent with spaces instead of tabs?
- jff 14y agoExecute the command "Indent on" to turn auto-indent on for the current window. Acme will then automatically insert the same indentation as the previous line for every new line you make. I just tested, it works with tabs and spaces. (But don't use spaces :-)
- cm3 14y agoThanks I'll try that. Am I able to make acme source that from a personal customization script on startup?
- jff 14y agoNo, we don't support startup scripts in Acme (you could implement it of course, the code is simple), but you can use the "Dump" command to take a snapshot of your current Acme layout. I'm not sure if that will preserve the status of Indent, but it may at least help you.
- rsc 14y agoNo, but the indentation can be turned on globally using the -a flag. I always run 'acme -a'.