otavioschwanck / arrow.nvim

Bookmark your files, separated by project, and quickly navigate through them.
Other
456 stars 21 forks source link

feat: allow letters/symbols along with numbers to be used for jumping to files #72

Open tingey21 opened 2 months ago

tingey21 commented 2 months ago

Hey @otavioschwanck , Just wanted to run an idea by you for my tiny 34-key split keyboard setup that I want to implement. Since I'm using layers for both the leader key and numbers, I thought it might be cool to have an option to add letters or symbols to our numbered files. Here's what I'm thinking: I wanted to add an optional param to let us record a letter or symbol along with the default number? It'd be totally opt-in, so it wouldn't mess with how things work now. We could have stuff like: 1 (a). internal/org/service.go 2 ($). internal/org/repo.go

I was thinking after the "Save File" prompt, we could have a quick window pop up where you can add a symbol/letter if you want. Just hit enter to skip it if you don't need one and we would keep settings key protected if the user opts in to mnemonic filing

let me know and I'll get to work 👀

otavioschwanck commented 2 months ago

I will try to do this over the weekend

tingey21 commented 2 months ago

oh no worries I've been working on implementation I just wanted to see if you we're okay with the idea!

otavioschwanck commented 2 months ago

oh no worries I've been working on implementation I just wanted to see if you we're okay with the idea!

awesome!

i loved the idea

JohanChane commented 2 months ago

Originally, I wanted to create a plugin for quickly jumping between buffers. My idea was to jump to the desired buffer with just two key presses (one key press for a pop-up, and another to jump to the buffer). However, I found this project that almost meets my needs.

Here’s my specific design:

What do you think of the above features? Do you think they are feasible? If it can be achieved, I would really love this plugin.

xzbdmw commented 1 month ago

On the right side of the buffer path, show the function most recently edited or located in that buffer, along with the line number.

That's good idea