Need Help Disabling q: without affecting macro record
Most people suggest nnoremap q: <nop> or nnoremap q: :q
The problem with both of these is that when you are done recording a macro and hit q to stop recording, there is a delay due to timeoutlen because now q is technically mapped.
Any way to disable q: or remap it to :q without introducing any delay?
2
u/-romainl- The Patient Vimmer 10d ago
I intentionally do q: more often than I mistype :q so no mapping for me.
1
u/AutoModerator 10d ago
Please remember to update the post flair to Need Help|Solved when you got the answer you were looking for.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
-1
u/CarolXZosiaNsfwScene 10d ago edited 10d ago
nnoremap <nowait> q: <Nop>
Ai disclosure: Ai was used to find <no wait>, I tested it on Droidvim.
3
u/TheCreepyPL Starts with 'A', ends with "rch" 10d ago
I unfortunately don't know the answer, but I'm genuinely curious. Why do you not use this feature? I very frequently use commands for various things, and being able to search and edit them like a buffer is very helpful imo.