Skip to content
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

Allow reusing the last command in DMs #11

Open
thecodewarrior opened this issue May 1, 2021 · 2 comments
Open

Allow reusing the last command in DMs #11

thecodewarrior opened this issue May 1, 2021 · 2 comments

Comments

@thecodewarrior
Copy link

I'm porting a rather large mod from MCP to yarn, and it would be really nice if I could configure default mappings or if linkie could reuse the last mappings without you having to type them every time. It could probably work a couple ways:

The ideal would probably be that if you sent a message without a command it would implicitly reuse the last one you used:

!dv SomeName
AnotherName
yetAnotherName
!dvm someMethod
anotherMethod
!dv SoManyNames

If that isn't possible, then having an empty command (and/or having the name as the command) would also work

!dv SomeName
! AnotherName
!yetAnotherName

Even more ideal would be if it would reuse the last mapping, without carrying over the type (class/method/field)

!dvc SomeClass
!m someMethod
!f someField
SomeAnything

@shedaniel
Copy link
Member

@thecodewarrior
Copy link
Author

I would, however the library is written in Kotlin, so the remapper wouldn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants