Do :verbose nmap \m
. Assuming \
is your<leader>
. It will tell you map pings and the location the map was sourced.
Pause when expanding split window with <c-w>_<c-w><bar>
-
13-07-2023 - |
Question
I have the following in my .vimrc:
nmap <Leader>m <c-w>_<c-w><bar>
It works as intended, making the current window (in a set of split windows) expand both vertically and horizontally. The problem is that there is about a 1 second pause between the time I type <leader>m
and the time the expansion takes place.
The reverse mapping, nmap <Leader>M <c-w>=
, by contrast, works instantly.
How can I get rid of the pause?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow