News for hackers. Stuff that matters.
Re:A Tour of the Acme Editor by jff on Monday September 17, 2012 @05:57PM (#4535128)
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 :-)
Re:A Tour of the Acme Editor by cm3 on Monday September 17, 2012 @06:15PM (#4535204)
Thanks I'll try that. Am I able to make acme source that from a personal customization script on startup?
Re:A Tour of the Acme Editor by jff on Monday September 17, 2012 @07:14PM (#4535390)
No, 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.
Re:A Tour of the Acme Editor by rsc on Monday September 17, 2012 @10:37PM (#4536001)
No, but the indentation can be turned on globally using the -a flag. I always run 'acme -a'.