I can expand a vertical split screen to occupy most of the area using
Now I would like to map that shortcut to
Ctrl+m. I tried the following but it failed.
nnoremap <C-m> <C-W>|
However this does not seem to work I also tried
nnoremap <C-m> <C-W-l>
However that fails also. Any suggestions?