Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :-)


Thanks I'll try that. Am I able to make acme source that from a personal customization script on startup?


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.


No, but the indentation can be turned on globally using the -a flag. I always run 'acme -a'.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: