title: Is there a way to remap Caps_Lock to be the escape key on vscode's vim?
body: <h3>Problem</h3>
  <p>I want to use Caps_Lock as the key to exit insert mode in Visual Studio code's vim extension. I have already remapped the keys in Xorg with Xmodmap, but Visual studio doesn't seem to really matter.</p>
  <h3>My VScode settings</h3>
  <p>As you can see, I already tried with <code>&quot;vim.insertModeKeyBindings&quot;</code>, but it only disables the Escape key, leaving me thinking that Caps_lock has another key name/keysym, but I can't seem to find it.</p>
  <pre><code>{
      &quot;editor.fontFamily&quot;: &quot;'Inconsolata-g for Powerline'&quot;,
      &quot;editor.fontSize&quot;: 16,
      &quot;liveshare.authenticationProvider&quot;: &quot;GitHub&quot;,
      &quot;vim.enableNeovim&quot;: true,
      &quot;code-runner.enableAppInsights&quot;: false,
      &quot;code-runner.runInTerminal&quot;: true,
      &quot;workbench.startupEditor&quot;: &quot;newUntitledFile&quot;,
      &quot;workbench.editorAssociations&quot;: [
          {
              &quot;viewType&quot;: &quot;jupyter.notebook.ipynb&quot;,
              &quot;filenamePattern&quot;: &quot;*.ipynb&quot;
          }
      ],
      &quot;workbench.colorTheme&quot;: &quot;BeardedTheme Anthracite&quot;,
      &quot;extensions.autoUpdate&quot;: &quot;onlyEnabledExtensions&quot;,
      &quot;vim.vimrc.enable&quot;: true,
      &quot;vim.vimrc.path&quot;: &quot;$HOME/.config/nvim/init.vim&quot;,
      &quot;editor.fontWeight&quot;:&quot;bold&quot;, 
      &quot;vim.insertModeKeyBindings&quot;: [
          {
              &quot;before&quot;: [&quot;&lt;Esc&gt;&quot;],
              &quot;after&quot;: [&quot;&lt;Caps_Lock&gt;&quot;]
          }
     ]
  }
  </code></pre>
  <p>Another thing i'd like to address is that i already have <code>j,k</code> and their combinations to exit insert mode. Is that a default?</p>
  <hr />
  <p>Huge thanks in advance to anybody offering to help!!</p>