-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Request for command to list active key-bindings in nedit-ng #185
Comments
Since writing the above, I have stumbled on some more bindings:
I haven't seen these bindings documented, but I could easily have missed it. Anyway, it would be cool to have a full list. Cheers. |
Sure thing, this actually should be pretty easy to do. Do note, that the Cmd and Fn ones aren't ones explicitly set by nedit, but are instead generated by macOS. For example, not all keyboards have a "PageDown" button, so macOS simulates that key binding via "Cmd+Down". Any listing I can give would show the bindings from nedit's point of view only. (aka "PageDown") |
Note, I am contemplating a good config system for letting users specify the key bindings for EVERYTHING themselves (if they like), it just gets tricky with the "Shift" modified ones. Do I just assume that anything specified which as an inverse operation implicitly has a shift version? Do I let the shift versions be set seperately? Not always easy to say which is "better" |
Ah yes, I'd forgotten that Windows has a Page-Up and Page-Down key. And Home and End which would be a good binding for Begin/End of file. And of course it has a proper Backspace -and- Delete key, I do miss having both those on Mac. Re Shift-modifier, hmm, Shift is a well-known prefix for "reverse", but .. here's me wanting Ctrl-A and Ctrl-E for begin/end of line. I wouldn't want and Shift+. |
Arggh. MarkDown ate my comment. I meant SOMEKEY and SHIFT+SOMEKEY. |
HI, just reviewing issues. My request for a list of active key bindings was pretty much general laziness, while getting nedit-ng going on my Mac. Plus there's the Mac confusion of Cmd becomes Meta, and Alt becomes Ctrl (or whatever it is .. more laziness). But with the benefit of some experience poking around the code, it feels like, without a centralised keystroke dispatcher, it could be awkward to dump the active key bindings. But if you go ahead with the completely user-configurable system you mentioned above, it would be easy I guess. Anyway, if you want to change this issue to a background "todo list" thing that's fine for me. Cheers. |
Hi, going great with nedit-ng here on MacOS Catalina, I've restored about 98% of everything I used routinely in X/Motif nedit.
A Request For Enhancement .. it would be nice to be able to dump the currently active key-bindings in nedit-ng, ie. the built-in bindings, and any that have been added in the user's own macros. Example: I've added back in my old familiar Emacs basic bindings:
I contemplated using the Cmnd key, but of course Cmnd A,E,J,K are in use. In fact I'm happy to use the Ctrl modifier for these bindings so that's fine. But regardless it would be handy to be able to dump the current bindings, and see what has been used already. Especially if some macro key binding is playing up and you suspect a conflict.
As an aside, the Default Settings > Customise Menus > Macro Menu... dialog is working beautifully. I'm sure it wasn't easy to port all that Motif hackery to Qt. In fact I gave up using that Dialog years ago, it never seemed to work well for me, and I just edited directly into nedit.rc, with precautions to not get code over-written etc. It's great to go back to a smoothly working Dialog. It even understands the Mac Fn keys, eg. F11, F12 which I use for some macros.
Ciao, GE.
The text was updated successfully, but these errors were encountered: