Depending on your terminal, you can configure mappings. For example, if you are using urxvt, in ~/.Xresources add:
URxvt.keysym.C-semicolon: \033[;
And in ~/.vimrc add:
map <Esc>[; <C-Semicolon> map! <Esc>[; <C-Semicolon>
Then you should be able to match it (not tested):
inoremap <c-Semicolon> <Esc>A;<Esc>
I use this to display the movement of a broken window like this (this works for me):
noremap <C-Semicolon> <Cw>l
Philt
source share