Replies: 5 comments
-
Given
Example:
HTH! |
Beta Was this translation helpful? Give feedback.
-
I appreciate the input, think that most people would expect magit-like bindings out of gitu. I'm unfamiliar with btop, perhaps there's a way to design it configurable. I know Perhaps if the dash was included in the bindings table You'd just have to copy the default keymap and change: Externalizing keymap configuration becomes a whole other issue it feels like though. |
Beta Was this translation helpful? Give feedback.
-
I'm excited to see so much activity on this library! I use Magit with vi-style keybindings and would love to have a similar experience outside of Emacs. Just wanted to note that this issue is the main blocker stopping me (so maybe others too?) from switching to gitu - I fairly regularly amend commits or interactively rebase branches that I've pushed, hence often force-with-lease-push too. |
Beta Was this translation helpful? Give feedback.
-
I realised that the functionality needs to assume that multiple flags might need to be toggled, which the single-modifier proposal doesn’t solve. Alternatively, here’s a way that e.g. Kitty (and some Vim-type bindings for the browser I can’t remember, whenever jumping to a hyperlink) uses:
HTH.
Yes, and a ton of work too! If you don’t particularly want to tackle this now, I reckon it’s best to focusing on finding good defaults, first. |
Beta Was this translation helpful? Give feedback.
-
Got something working for a starter. |
Beta Was this translation helpful? Give feedback.
-
Build support for passing flags to commands (for example
git push --force-with-lease
, orP-fp
in Magit).Beta Was this translation helpful? Give feedback.
All reactions