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.
<C-[>
is the same as<ESC>
. It's a really bad idea to mess with that. You might want to choose a different key combination.