I notice that in some people's answers say "to edit the file, do sudo gedit $file" some people say "sudo nano $file" and of course "sudo vim $file"

By default doing "sudoedit $file" will open the file in the user's preferred editor. I think this is handy because documentation can be consistent regardless of what editor the user prefers. Thoughts?