gorbit99 / codewindow.nvim

MIT License
431 stars 16 forks source link

Support for marks #74

Open daniel-j-h opened 7 months ago

daniel-j-h commented 7 months ago

Vim's marks act as conceptual anchor points. You set marks for blocks like imports, functions, or similar distinct places in your code. At the moment you have to remember where you placed your marks and keep track of them in your head. Showing marks in the minimap would make motions with marks incredibly powerful.

See an example below where I placed three marks a, b, c. If we could render these marks in the minimap by placing the mark's label there, we'd no longer have to keep track of marks in our head.

https://neovim.io/doc/user/motion.html#mark-motions


marks1