Saving selection state across sessions


A while ago I created the state-save plugin which automatically saves the selection state as you edit a file and restores it the next time you open that file. I recently updated it and figured I should advertise it here!

  • no longer tries to save the state of scratch buffers, since they don’t have the same content from session to session and the saved state would be invalid anyway
  • added an option that lets you disable state-saving for certain files. Now git commit won’t start with your cursor at the end of the buffer, just because your previous commit had a lot of text in it!