-
Notifications
You must be signed in to change notification settings - Fork 30
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
Ability to customize keybindings #11
Comments
Didn't hear from you, so I did something in my fork, and more specifically this commit If you think it's useful in your repo as well, please let me know and I create a PR (of course I'm gonna remove the paragraph saying "changes in this fork" from there 🙂 ) |
Sorry for taking some time to get back to you :) I like the idea of making these configurable, since as you say many users might get conflicts between alt-keybindings used by tilish and other terminal apps. (Something that is difficult to avoid entirely...) I am however a bit skeptical of adding individual config options for each keybinding; in that case, it might be just as clean for the user to just fork the repository and change the code directly. However, perhaps a compact solution to this could be to use a similar approach to how the What do you think? If you think this sounds reasonable, would you be interested in submitting a PR, or should I look into it? :) (The code implementing these keybindings would then look similar to this.) |
Good to hear from you @jabirali 🙂 I think it's a good idea. If I remember. I can look into this when I have some free time for sure |
Great! Thanks a lot for the suggestion and the help :) |
@jabirali , it's been a long time, but recently, I needed to install a vim plugin that had a lot of conflicts with my I made quite a few changes to make things configurable:
The |
update: issue moved to farzadmf/tmux-tilish docs: add a list of configurable keys in README |
Hey @kohane27 , I enabled issues in the fork. Can you please open the issue there? 🙂 |
Hi @farzadmf, Sorry for the late reply, and thanks a lot for implementing this! I've now finally gotten around to go over your changes, and would be happy to merge it into The only part I'm skeptical about is changing the I'm currently on vacation, but will be back in office in mid-August, and then plan to test your changes on a few different |
Hi @jabirali , thank you for your reply
I'd say it's a bit later than late 😝 (about 6 months), joking of course But on the serious side, reason for saying that: honestly, it's been a while and I've lost track of what I changed and potential breaking changes. I'll try to remind myself about the changes, but that's a very good point about I'll get back to you once I get the chance to properly go over things |
Indeed, it has become later than late! 😅 Between starting a new job 🧐, getting married 🎉, and finally catching Covid 🦠, it's been an eventful spring on my part – so I have had to put off working on side projects like this until things settled down a bit. But I hope to follow up with less latency during the next half year 😉 I completely understand that the details are a bit fuzzy after some time. If you have a chance to go properly over things yourself before opening a PR, then that would be ideal. But if not, it's also fine to just open a PR with your fork's code as-is, and I can try to isolate the parts we wish to merge myself (especially |
No worries at all @jabirali , I guess 2 congrats and 1 sorry for what happened 😆 , and I sincerely hope everything is OK with you now. Next half year should be enough to get a PR ready 😅 , but for sure, I'm planning to go over the changes myself first and then create a PR, and we can talk through the things in more detail then. Anyway, glad that you're back 🙂 |
Thanks! Indeed, everything is great on my end now 😄 Perfect! Then I'm looking forward to going over your PR once you have time to review the changes. And I agree that we shouldn't need another half-year to get this merged 😉 Meanwhile, I hope that you both have a nice summer! |
Hey @jabirali , so I took a quick look and caught up with the changes that I've made (hopefully 😆) I think the only breaking change that's there is the So I was thinking to maybe rename the "new" Also, let me know how you prefer:
|
Thanks for working on this! I don't want to make more work for anyone, but it seems to me like the easymode change (and possibly others, I haven't gone through every change) could be split into its own PR. The easymode change/addition does not seem directly related to the scope of this issue. |
It seems I spoke to soon; it has been a very busy year, culminating in moving between cities and jobs again this summer, so I haven't managed to actively maintain @farzadmf, I agree with @star-szr that it's perhaps best to just split out the "easymode" part and merge the rest for now. If you open a PR, I'll give it a quick test (but it shouldn't need much testing since you've been using it for a while already), and I'll try to merge it as soon as possible. If there's anything we need to fix first, we can discuss it in the PR directly, or I can try to fix it myself during the merge. Let me know if you need any help or input from my side :). Off topic: If anyone is reading this, and would be interested in helping with the maintenance of the plugin, please feel free to reach out. I think the plugin is more or less "feature complete" for what it does, so it's mostly in maintenance mode at this point. But I haven't been able to very actively respond to issues and pull requests over the past couple of years, so I would be happy if someone else would like to assist with this :). |
Hi,
I installed the plugin and I'm enjoying it, thank you 👍
However, I was wondering if you plan to allow customizing the bindings through options. For example, a tool that I'm using is using
Alt + v
to do something, and that key is used bytilish
.I know there's the possibility of using the "prefix mode", but that would be somehow slower than using the
Alt
key combination. So I was wondering if it's possible to have something like this:There are some defaults defined for keys, for example
v
andV
, but they can be overridden using an option; something likeset -g @tilish-vlayout = ...
andset -g @tilish-vshiftlayout = ...
(ignore the option names 😄 )The text was updated successfully, but these errors were encountered: