How to share Notepads and store in git now!

Notepads are super useful, there are many threads in the forums with ideas for use. They are stored in a DB that is kinda a pain to get access to and modify, and are not stored if a folder changes, a new project is initiated, or others git clone and work from the same project.

To get around this, I have come up with a very simple solution - in every project I create a xnotes folder that I add to .cursorignore - and any notepad I end up creating that will be nice to save or share, I just create a note with the name of the notepad in the folder.

Speaking of .cursorignore, I also put all patterns of env files or secrets containing files, node_modules, and any output folders - this help reduce the indexing of the project to keep it smaller and not polluted with files that should not always be in context except when needed.

Simple easy approach allows for sharing easily with others using the repo who can chose to set up the notepads also!

Simplistic brute force - but works really well!

Thanks for sharing! Would you mind elaborating? My feeble brain is failing to connect all dots. Are you also copying all text within a notepad to the new note file in xnotes? Sry if that should have been obviously implied :wink:

Hey no problem at all - yeah that was basically the idea! Its not the most elegant solution, and TBH I have stopped using notepads altogether.

I have changed over lately to just using markdown files in an .ai folder that I add to cursorindexingignore that I just reference when needed or use a custom agent instead.

Can read more here it better explains it GitHub - bmadcode/cursor-custom-agents-rules-generator: Maximize the potential of Cursor best practices for Automatic Rule and Custom Agent Generation and Agile Workflows

Good luck, hope it helps.