pgaskin / NickelMenu

The easiest way to launch scripts, change settings, and run actions on Kobo e-readers.
https://pgaskin.net/NickelMenu
MIT License
591 stars 32 forks source link

Ignore editor temp files #27

Closed pgaskin closed 4 years ago

pgaskin commented 4 years ago

MR:post-3992019

pgaskin commented 4 years ago

Any others?

pgaskin commented 4 years ago

I should probably also exclude OS-specific files too:

NiLuJe commented 4 years ago

Kate does .${file}.kate-swp (i.e., besides the extension, it also makes it hidden).

pgaskin commented 4 years ago

I think I'll exclude all dotfiles, the Windows stuff, and stuff ending with .swp, .swo, ~ or #.

shermp commented 4 years ago

Wouldn't it have been easier to have a defined config format? Either a custom extension, and/or file signature?

Something like config.nm?

pgaskin commented 4 years ago

That was my original plan, but I realized it would be easier for Windows users if I allowed any extension (most don't know how to rename files to / save files under different extensions, and many don't even know files have extensions).