My question comes from this two commands I added on my _vimrc file:nnoremap <C-[> :set columns+=1<CR>nnoremap <C-]> :set lines+=1<CR>As is known, it will resize your gvim (I am using gvim on windows) with one more column when you hit Ctrl-[, and one more line when you hit Ctrl-]. That is really cool since you can achieve that resizement as though you are using your mouse. I wonder if I can map those two command with only one key to make it more comfortable.
How to map two commands with only one key
gvim;vim windows;window management
You can do this with | (on windows, in the _vimrc file, so you have to replace it with <bar>).e.g. unixnnoremap <C-[> :set columns+=1 | lines+=1<CR>  windowsnnoremap <C-[> :set columns+=1 <bar> lines+=1<CR> See the documentation : :help :barref: https://stackoverflow.com/a/3249303/2558252