-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Suggestion: use <space>
to scroll in view mode
#2721
Comments
I think this is a good idea. If you'd like to submit a PR, the default keymap for helix/helix-term/src/keymap/default.rs Lines 274 to 285 in 0b8a00a
You could bind
both space and shift+space register as just space. |
I will try. Please give me a bit of time, as I have not contributed before. Thanks. |
Sorry for the naive question, because I am not a real dev and have never worked with rust before, but if I make a change to the code base and want to test it, what do I do? I mean, what are the commands to compile and run my modified version of the code? EDIT: what I did is just run |
FWIW, ShiftSpace does appear to work on Windows on all terminal emulators I've tried (Wezterm nightly, CMD, Powershell, ConEmu). |
Finally a key combination that works on Windows and not Linux 😄 For me the shift modified isn't being recognized on either Kitty or WezTerm |
Well, if the platform support is kinda hit-or-miss, it's probably a good idea to use a different keybind 👀 |
Yes. It would be quite a useful key combination, but you cannot rely on it. |
* Make view mode more pager-like Addresses #2721 * Remove view mode bindings for J and K
One thing that's always bugged me is that while
h
,j
,k
,l
are so ergonomic,<c-f>
,<c-b>
and<c-d>
,<c-u>
are just the opposite; they feel characteristically "un-modal", and I've never understood why I should want to use them.It's pretty ubiquitous in pagers, viewers and even web browsers to use
<space>
and<s-space>
to scroll forwards and backwards page-wise, and this is very comfortable. Now, obviously<space>
has a different usage in normal mode, but in view mode (and in particular 'sticky' view mode) it could be used for scrolling. That would give you the best of both worlds, it seems.The text was updated successfully, but these errors were encountered: