I quite often open linux system configuration files with vim and sometimes  have a session with lots of tabs, splits, quicklists etc that I want to save to a session and restore again later.The problem is I usually only open as a non-root user with read-only access and therefore my vim process doesn't have privileges to save the Session.vim file in the current directory (I guess it may be able to save to home - but My preference is to save the session file to the site where I'm working).Is it possible to elevate to sudo privileges inside vim simply for the :mksession command? 
How can I save a session in a directory owned by root?
sessions