4 ms·
Execute 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
by jff 14y ago
Execute 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'.