lusingander/stu

General enhancement proposals

Opened this issue ยท 5 comments

Sorry if this is too general for one issue. Let me know if I should split it into separate issues for each request.

Feature requests:

  • Option to yank the path to the currently highlighted object / directory to the clipboard
  • Option to open the currently highlighted object / directory in the S3 console in the browser

Navigation enhancement proposals:

  • Add support for using arrow-keys. (I personally like the vim-like keybindings of j/k and g/G but I know a lot of people would prefer using the arrow keys.)
  • Use Esc to navigate back instead of backspace. I think k9s has nailed keyboard navigation, and would love for stu to behave in a similar way. I would personally prefer to exit stu with <C-c>.
  • I love the new refresh option, but why is it mapped to R and not r? Maybe there is a good reason for this, but since r isn't already mapped to an action, I'm curious why R was chosen.

Thanks again for making this great tool!

Option to yank the path to the currently highlighted object / directory to the clipboard

This seems useful.

Option to open the currently highlighted object / directory in the S3 console in the browser

This may currently be what you can do with the x key (Although, it's a little different in that it opens the currently open hierarchy in a browser).

Navigation enhancement proposals

I mostly agree with you on these.
To be honest, I added keys without much thought when I first implemented it ๐Ÿ‘ป
(As for the R key, this was because we use r in object details and we wanted to prevent pressing it by mistake.)

However, there is probably no one right answer for key bindings that will please everyone.
Probably the only way to achieve is to allow users to customize their own keybindings.
This is something I've been wanting to implement for a long time, but it's not easy so I haven't gotten around to it yet.

This may currently be what you can do with the x key (Although, it's a little different in that it opens the currently open hierarchy in a browser).

I totally missed this. This is great!

Thanks for considering the other proposals ๐Ÿ˜Š

Option to yank the path to the currently highlighted object / directory to the clipboard

In #30, I implemented the feature to copy the information of the resource highlighted on the bucket or object list.

It may not be exactly how you imagine it, this is to ensure consistency with object detail page, and I think the functionality is sufficient for now.

Amazing, really appreciate your responsiveness to the suggestions! ๐Ÿ™Œ