-
Notifications
You must be signed in to change notification settings - Fork 66
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
nRepeat fixed on 16 digits #207
Comments
I don't know anything about nRepeat. What is that?
This plugin has its own mechanism for repeating things and sadly it never applied to inserting text. So you could type ^U^U^N to go down 16 lines but you cannot type ^U^U and then the letter "i" and have it inserted 16 times.
Are you sure this problem is caused by this plugin?
… On Dec 9, 2021, at 11:36, njpates ***@***.***> wrote:
I've had an issue for a few months now. I checked the closed issues to see if there was something that I missed but couldn't find anything about this. I've noticed strange behavior with the nRepeat function. Initially it would print the symbol for a registered trademark (that's the letter "R" with a circle in it) 4 times upon "alt + r" without giving prompt for the number of repeats or the symbol to repeat. I use a Mac so I changed the binding to "alt + cntrl + r" to see if there was something screwy that changed on one of my OS updates. It will �repeat the first character (digit or otherwise) 16 times. For instance, on "cntrl+alt+r" if I type the number "1" it will repeat "1" 16 times. I've also tried reinstalling the emacs package and installing the nRepeat package directly off of gitHub with no luck.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#207>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAD67A35H3UAETJILZJB53TUQDLIXANCNFSM5JW5OHIQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
From what I understand it is an operation that's been available in Emacs. In the past, I've been able to execute it with "alt+r" using the "Emacs Pro Essentials" Sublime Package. Again, it's been a few months since I've been able to use it now. After using the command you could type a series of numbers and the next non-numerical keystroke would be executed. For instance if I hit "alt+r" then hit "113" and then typed "^n", it would bring the cursor down 113 lines. Or, you could instead hit the letter "a" and have 113 letter "a"s printed. It was pretty handy for creating a specified number of lines and separate cursors. |
I think you should check your binding of alt+r to see what exactly it's bound to. It's not an emacs pro essentials command by default. You can type meta-123 ctrl+o to open up 123 lines, because that's a command (open line or ... newline-and-return ... can't remember). But meta-123 then Enter will enter just one return because Enter is handled automatically by the underlying text widget. This has always bothered me, that the regular characters are not bound to a sublime command but bypass the whole sublime plugin infrastructure. If there were some callback like "I am about to insert this character" that I could intervene with, well that would be cool, but there isn't as far as I know. So I am not sure how you have been able to insert loads of non-numeric characters but I have to assume it's some other plugin that is perhaps binding all the keys? |
I've had an issue for a few months now. I checked the closed issues to see if there was something that I missed but couldn't find anything about this. I've noticed strange behavior with the nRepeat function. Initially it would print the symbol for a registered trademark (that's the letter "R" with a circle in it) 4 times upon "alt + r" without giving prompt for the number of repeats or the symbol to repeat. I use a Mac so I changed the binding to "alt + cntrl + r" to see if there was something screwy that changed on one of my OS updates. It will �repeat the first character (digit or otherwise) 16 times. For instance, on "cntrl+alt+r" if I type the number "1" it will repeat "1" 16 times. I've also tried reinstalling the emacs package and installing the nRepeat package directly off of gitHub with no luck.
The text was updated successfully, but these errors were encountered: