-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve keyboard shortcuts #12
Comments
Thanks for opening your first issue here! 💖 |
I'd add that pageup/down isn't bound, It could help the scrolling |
Please check out v0.2.0 :) |
i'm already on 0.2.0 But, find is still not mappable to sth. like Regarding ctrl-m, i am using fedora41/konsole. But to me, ctrl-m was always an alternative for return in shells (i did no specific reconfiguration) |
No, you should edit the YAML file, please have a look at the docs for details:
Yeah, I will add it soon. :D I will keep you updated via this issue tracker 👍 Terminal defaults are super hard just because there are so many edge cases and sooo many different "defaults". |
thanks for the update!! |
No worries, none taken! |
It seems like old terminal emulators interpret Ctrl+M as enter... In response to #12
Hey, @slartibart70, I have added the support for jump to focus and changed the default for the mode switch to ctrl+t. EDIT: Before I create a new release? |
Hi, Besides the vi-support - which e.g. uses The other thing bothering is the switch between rootful/rootless-instantiation of isd.
we are still missing log-output (see first message) when isd is called as non-root and switching to 'system' mode due to missing permissions. |
Yeah, these types of "double keypress shortcuts" aren't supported. :/
I will update the FAQ / documentation but I really would like to avoid "reinventing the pager wheel".
Yeah, also something that I need to add in the docs 😅 See the docs from systemd: https://github.com/systemd/systemd/blob/19aadacf92ad86967ffb678e37b2ff9e83cb9480/README#L161-L176 |
definitely sth. for FAQ,
the pager (less in my case) already supports vi-bindings. If you are happy using them, then the isd-UI is obviously different in usage. Here we could improve on aligning. |
Out of curiosity, which bindings are you missing? I am also planning on limiting the scope of the Maybe a more general question, do you appreciate the default keybindings for |
It's more like conflicts between vi-bindings an isd. This is typically only a problem for hardcore-vi user, but as we have 'hjkl' as movement in the UI i am tempted to use the others as well - with unexpected side effects :-) |
I see. I am currently researching what "defaults" are safe to use from a terminal/shell perspective. |
Hey, thank you again for raising this issue so "early". In essence, I will add a "quick select" menu/modal for systemctl actions that opens with a "safe" keybinding and then executes the desired action with the next keypress/selection. So I will still try to support "direct" actions since I am a big fan of them, but they will probably be disabled by default, especially since they require adapting to the terminal emulator used. Thank you for your feedback! |
Some of these keyboard shortcuts don't work very well if you're using a different keyboard. For example, I I'm highly in favor of I'd also make sure to check that I know things can be overwritten with |
@stevenwalton The overlap issues should be resolved in v0.3.0 Regarding the customization:
You are looking at the wrong file. |
The new release 0.3.0 is very nice! Thanks! |
Sorry for pinging you @slartibart70. According to https://stackoverflow.com/a/11235237:
Which ones do you expect to use most of the time? Would you appreciate that these keybindings are set by default, or would you rather have no "incorrect" keybindings? I assume there are many other applications that partially support vim keybindings, though I have never used these "more advanced" features of vim, so I would appreciate your input 🙏 |
I can say what I use the most is
That's the whole chimichanga right there! I have a few vim tutorials if that helps. (still need to write the advanced one) Getting up to speed on vim is much easier than most people think, but I also think it is easy to get the wrong mindset from the start. Other important moves are a bit more subtle, like knowing the difference between Note: |
Hi,
I wouldn't bother that much about cursor positioning (there are other commands for this in vim which clearly need not be present in isd) but more on the unexpected side effects when using typical vim-shortcuts. Regarding the 'defaults': why not offering both? |
I mean, more than 90% of the keyboard shortcuts are (and always will be) configurable. I am a big fan of allowing users to configure the tool to their preferences. I am a helix user myself and prefer it over Vim, but then again, I do believe that having Vim keybindings on "by default" (in addition to the "classic" keybindings) is a solid choice. Especially considering who (probably?) the target audience of the tool is.
I 100% agree. This is why I pushed this issue to the top of list and fixed it 👍 But then, from what I've gathered, a solid compromise would be what I have initially suggested:
Though, then again, having I do believe that "defaults are king". And as you said, if I provide |
I think what would be nice is to have pre-defined configurations (I think this is what @slartibart70 is suggesting). Like how in
I think this is my general complaint with many implementations of
I respect this a lot, but also want to make sure we recognize an important point. The people that are drawn to |
Hi,
nice tool, btw!!!
Could we improve on the keyboard shortcuts, like e.g.
/
for immediately jumping into the search boxctrl-m
... this is simply a return in my shell and does not toggle the mode (i have to select it using the palette)gg
,G
to jump to begin/end to the list of servicesAnd, regarding log-outputs in 'system' mode:
i need to run isd.Appimage as root to get rid of the status-messages reading (e.g. docker.service):
Warning: some journal files were not opened due to insufficient permissions
The text was updated successfully, but these errors were encountered: