Based on this Question I would like to know if it would be possible (and if so how) to save these auto-saved backup files into a specific or different folder.

As I'm using git as a revision control system and don't want always once I join a project to change the .gitignore file as this might be disliked to some extent.

  • @Rinzwind that is the obvious solution. But i was wondering if there could be something else as all my other colleagues either use an other editor (vim/Emacs, i don't really feel comfortable with them) or develop on windows! – Medi1Saif Feb 11 '16 at 9:55
  • @Medi1Saif don't commit changes to .gitignore. Stash and pop as needed. – muru Feb 11 '16 at 10:11
  • @muru sounds as an interesting hint, i never used stash/pop before but must check to what extent this is allowed, as we have some presetting for our repos! – Medi1Saif Feb 11 '16 at 10:16
  • 1
    You'll have to enable the "Save Actions" plugin under Tools, Plugin Manager. This is a built-in plug-in. – DK Bose Feb 11 '16 at 11:01
  • 1
    @DKBose it works fine... that was really helpful! – Medi1Saif Feb 11 '16 at 13:23

No, you cannot do this with gedit. This was a declined feature request. It can apparently be done with a plugin, but such a plugin is not published - not that I can find, anyway,

  • 1
    Well i should have investigated in two different directions of course git has a solution with a local ignore -> .git/info/exclude which is a good workaround also stackoverflow.com/questions/1753070/…! – Medi1Saif Feb 11 '16 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.