-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Make Alt+F forward a word again #1580
Comments
I totally forgot about usual readline shortcuts since I never use them. |
So what would be good alternatives for the key combos? alt-f flag window as marked alt-a marking as unread I'm tempted to just let them stay as they are since I guess all the readline combos can also be done with ctrl+arrow keys. And we probably want short key combos for the marking/switching between windows. |
Well, if it will be less pain for you, leave them like that. Altough i'd like it to be possible to use Alt+f again |
It's not hard to change to code to use another binding. Do you have sugestions? |
Hm, well I think Alt-n doesn't make sense but it is near m so you can quickly press Alt-n and Alt-m? |
What about the others though? |
I agree with alt+n as it is convenient. I am greatly displeased by having alt+f gone as I use it to jump words ever constantly and ctrl+arrows doesn't even work for me. Besides it is terribly inconvenient compared to alt+f/b -- I use it in the terminal constantly too. I'd think more people would have a problem with this binding being taken over. Having a memorable letter just isn't reason enough to overwrite a default terminal binding. |
We don't need to know about this. The original poster said this already.
Then fix your setup.
alt+f is not a "default terminal binding". Actually it has nothing to do with your terminal. It's the default binding for GNU Readline in emacs mode. Now with this being clarified I would again ask for alternative keybinding suggestions. The change is not big, just one/two lines that need to be changed. But someone will have to come up with an alternative binding. |
TBH its useful to know how many folks use some (seemingly very common and probably default in some cases) bindings. I Also would prefer profanity to respect this specific binding (atl+f/b).
TBH, not every terminal out there will do ctrl+arrow keys out of the box. Rxvt-Unicode (urxvt) or UXTerm for example. So its not really "fix your setup" since its not always a -default- on every terminal emulator out there. Additionally arrow keys are highly inconvenient.
No need to be pedantic :P I think we get the gist of the comment.
I think you missed the part where he said alt+n is convenient. It was at the beginning. And I will second that suggestion. On the flip side, down the road a better solution to trying to avoid conflicting bindings in who knows how many different terminal emulators people use, would be to let folks customize the bindings them selves. But that is def a bigger task than just changing some hard coded values :) |
So this is what's going to happen: |
We only need to change alt+f all the rest is okay? Did someone check?
|
v sounds like a good alternative to me |
Some alt bindings are not implemented: alt+c, alt+u, alt+l, and alt+t it seems. I'm not sure where I got this list now, but these were once given as a reference for the main bindings to me. Alt + BackSpace to delete to a separator/delimitor! Ctrl + l – clear the screen I don't think EVERY single readline binding has bearing on this discussion. I would think the movement ones are the ones most important? |
alt+f is the default readline shortcut for forward one word. Regards #1580
Switched alt-f to alt-v. Hope everybody is happy now :) |
Expected Behavior
The input moves to the next word (Like in emacs and most shells)
Current Behavior
It sets the attention flag
Possible Solution
Configure keybindings
Steps to Reproduce (for bugs)
The text was updated successfully, but these errors were encountered: