-
Notifications
You must be signed in to change notification settings - Fork 33
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
Refactor(keymaps): export keymaps #70
Conversation
Hi @aarondill Did you get the swag already 😎? |
No problem, take your time.
I did! I sent a few images to your email address already, did you not receive them? |
I haven't! to |
@amirbilu any word on this PR? I'm still thinking perhaps exporting these under |
@amirbilu what are your thoughts on this patch? I can say I've been happily using this in my own config for a month with no issues (see here), and would love to get it merged into the main repo. I'd still like your input on the module name, whether |
@amirbilu please let me know how you would like this change to continue. This is vital to my personal use of the project, and I'd like to finalize the PR so it can be merged. |
@amirbilu have you had a chance to take a look at this yet? |
@amirbilu sorry if it feels like I'm pestering you about this PR, but this is an extremely important use case to me, and as you seem to be the sole owner/maintainer of this repo, I don't know who else to ping to get this reviewed and merged. I am currently maintaining a fork to implement this behavior for my own use and I'd love to be able to resume using upstream if this could get merged. My stated use case is to remap the tab key (usually used for completion) to a function callback that completes Tabnine if available, otherwise uses cmp (my lsp completion client). This allows seemless integration of the two, and avoids my current problem of the two fighting over my tab key (and Tabnine winning, regardless of completion availability, removing my ability to use cmp). |
@amirbilu here's a friendly ping on this PR. It's now been waiting over 6 months for a review and I'd appreciate if you could take a quick look at it. |
@amirbilu any update on this PR? |
a155779
to
cc377eb
Compare
d7bdfb6
to
f62a6e3
Compare
@aarondill to be honest it feels like a big change and I can't find the time to think of the consequences |
@amirbilu this is a fairly advanced use case, but i've been using it in my own configuration without issue for the last 9 months (I'm maintaining a fork with all my prs) |
f62a6e3
to
8a8e992
Compare
Add the advanced usecase to the vimdoc This help feels neglected...
8a8e992
to
f5b546d
Compare
@amirbilu I've rewritten this PR with |
Awesome contribution |
This PR implements
accept_suggestion
,dismiss_suggestion
, andhas_suggestion
to be used from user mappings.It also permits setting
accept_keymap
anddismiss_keymap
tofalse
to avoid setting it (nil
defaults to the default settings)fixes #149
I've included an example use case under a new header in the README.
copied from the readme: