nb
nb copied to clipboard
Ignoring files
I've been trying out nb
across a couple of environments and I love it so far!
I often edit my files with emacs
, which leaves <filename>~
and #<filename>#
files lying around in directories. I have these files ignored from git with my global gitignore (ref: Emacs gitignore); however, I've noticed they're still appearing in the index files nb
uses, as well as in the nb cli itself.
The current behavior makes sense -- a user might have local files that are gitignored but might still want to view/edit them in nb
.
However, I'd love to be able to explicitly denylist files like these from nb. Is there any way to apply global filters? a .nbignore
file somewhere, perhaps?
Apologies if this is documented somewhere, or if it's a dupe issue -- I did a quick search in both places and didn't see anything relevant. Maybe I'm the only one using emacs
here 😄
Hi @NJAldwin, I published a new version, 6.9.4, that skips common editor temp files automatically as a first iteration for this feature, which can be expanded to be more configurable. Please try upgrading and let me know if the issue is resolved.
Seems to be working correctly now. nb
with emacs org-mode is really, really good.
Glad you like it! :blush: