-
Notifications
You must be signed in to change notification settings - Fork 35
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
personal keybindings #5
Comments
How can we do this without icky config files? I can see an easy enough scheme where the fragments in the Type switch are selected through a map, but I can't figure out a nice way to initialize that map without becoming Emacs. |
Serialize / de-serialize the map to the dump file? Then edit externally. |
A Bind command could be interesting. Bind to an external command? |
Can you expand on what the Bind command would do? |
The simple version takes all the key switch cases in text.go, drops them into named closures/funcs (because you have too much shared state in there?), and indexes them based on a bind table of keystrokes. Bind ties the name of func to the key. |
Conceivably over-engineered proposal:
ExampleMiddle-clicking something like this:
would make the unicode delete a word. And
I suppose that the map could be per- |
I would not like to see the map be per-window unless we found a compelling use case. |
More typing code motion to address #5
Refactor typing code further in pursuit of #5
An additional thought I had is having the option to bind keyboard shortcuts to tagbar applications, for example a user could bind ctrl+shift+f to a find and replace app they wrote. |
I need to add back the keybindings that I've hacked into my own fork of p9p acme in a way that multiple different bindings can exist in the same binary.
The text was updated successfully, but these errors were encountered: