command-line tool that automatically uses gksudo,kdesudo,sudo or whatever you want when it is needed to open files with your editor. set your favorites, and never see another 'no permissions' error again.