I'd like to map CTRL-W to something else, but I'd also like to retain the functionality of CTRL-W, for resizing windows, moving between splits, etc. So I'd like to move it to something like CTRL-Q.
However, my naive attempt of the following doesn't work quite right:
nnoremap <C-Q> <C-W>
nnoremap <C-W> iexamplemapping<esc>
CTRL-Q seems to work the same as CTRL-W did previously. But CTRL-W seems to wait for about a second before executing the new mapping. Is there any way to have it execute it immediately? Would I have to remap every combination of <C-W><C-W>
, <C-W>_
, etc. ?