mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 14:42:47 +09:00
If you are editing a read-only file and forgot to open micro with sudo so you could write to it, when saving the file, micro will now give you the option to save with sudo. This little hack is used by vim users to achieve the same behavior, but micro makes it nicer to use. Here is an explanation for how it works: http://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work Fixes #158