title: How can I map Ctrl + semicolon to add a semicolon to the end of the line?
body: <p>I'm trying to map pressing [ctrl] + [semicolon] in insert mode to move to the end of the line and add a semicolon. It's something I find myself doing a lot after installing the <a href="https://github.com/tpope/vim-surround" rel="noreferrer">surround</a> plugin.</p>
  
  <p>I tried running this command</p>
  
  <pre><code>inoremap &lt;c-;&gt; &lt;esc&gt;A;&lt;esc&gt;
  </code></pre>
  
  <p>but when I try it, it exits me out of insert mode, and goes into command mode. Trying with another modifier <code>d</code> yields the same result too.</p>
  
  <p>Can semicolon not be mapped with a modifier?
  What am I doing wrong?</p>