trevorhauter / gitportal.nvim

Easily generate or ingest shareable permalinks to get to the files you want. Fast.
MIT License
5 stars 0 forks source link

Fix the way the commands are currently built in the project by default #10

Closed trevorhauter closed 2 weeks ago

trevorhauter commented 2 weeks ago

So, right now, there is one command available... Gplink. This is cool, but, we shouldn't be making commands these ways. Users will want to configure it themselves. Instead, we should make simple functions available for users to bind however they please, and we can add examples in the docs. Here's how Harpoon does it

https://github.com/ThePrimeagen/harpoon?tab=readme-ov-file#marks

trevorhauter commented 2 weeks ago

Users can now run :lua require("gitportal.core").open_file()!