title: Keyboard-only column block selection in GVim Win32, or why does Ctrl-Q not emulate Ctrl-V when mswin.vim is included?
body: <p>I want to be able to select columnar blocks using only the keyboard when I use GVim on Windows, but I do not seem to be able to do so when using gvim (7.2) on Windows XP.  <em>Edit: For convenience, it is preferable to make the selection with arrow keys as is commonly done in other versions of vi/vim.</em></p>
  
  <p>In a terminal, when using vim, to define a block, one may select columnar blocks by pressing <kbd>Ctrl-V</kbd> and by conveniently moving the cursor <em>with the arrow keys</em>.</p>
  
  <p>When using GVim on mswin, <kbd>Ctrl-V</kbd> is mapped to a paste operation.  Every reference found on this topic mentions that on mswin, <kbd>Ctrl-Q</kbd> is set to act the same way that <kbd>Ctrl-V</kbd> works on other platforms, but this does not work for me.</p>
  
  <p>After research indicated that the <kbd>Ctrl-Q</kbd> behavior is implemented through the inclusion of mswin.vim, it seemed that perhaps mswin.vim was not being loaded by GVim.  mswin.vim is apparently loaded via _vimrc.  It seemed that perhaps mswin.vim was not loading, so perhaps _vimrc was not setup correctly, but...</p>
  
  <p><code>C:\Program Files\Vim\_vimrc</code> exists contains:</p>
  
  <pre><code>source $VIMRUNTIME/mswin.vim
  behave mswin
  </code></pre>
  
  <p><code>C:\Program Files\Vim\vim72\mswin.vim</code> exists and contains:</p>
  
  <pre><code>" Use CTRL-Q to do what CTRL-V used to do
  noremap &lt;C-Q&gt;       &lt;C-V&gt;
  </code></pre>
  
  <p><code>C:\Program Files\Vim\_vimrc</code> should load since Edit | Settings Window in the GVim graphical menu loads this file for editing, and it is clear that <code>C:\Program Files\Vim\vim72\mswin.vim</code> is loading because one can insert a syntax error in that file and GVim will complain about it when it starts up (it was backed it up for testing and restored to prevent accidental corruption). </p>
  
  <p>When <kbd>Ctrl-Q</kbd> is pressed, the cursor changes in the same way that it changes when you block select text using the mouse, but any cursor movement at this point causes the cursor to change back to a normal cursor.  It does not matter whether one continues to hold <kbd>Ctrl</kbd>, <kbd>Ctrl-Q</kbd>, or not.</p>
  
  <p><em>Edit: <kbd>Ctrl-Q</kbd> enters block selection mode as indicated by the cursor change since other cursor movement commands extend the block, however, the original intent of this question was to learn how to use the arrow keys (in the same manner that they are able to be used in other implementations of the editor) though this was not explicitly stated in the original, unanswered revisions of the question.</em></p>
  
  <p>It is possible to visually select columnar blocks by pressing <kbd>Alt</kbd> while holding down the left-mouse button, but <kbd>Alt</kbd> during arrow key motion after pressing <kbd>Ctrl-Q</kbd> also does not work.</p>
  
  <p>Research also seemed to indicate that pressing <kbd>v</kbd> in command-mode would enter visual-mode, and that perhaps this was relevant, but using this does not seem to help the situation.</p>
  
  <p><code>C:\Program Files\Vim\vimfiles</code> does not contain anything except an empty directory structure.  <code>C:\Documents and Settings\username</code> does not contain vim configuration files, nor does <code>C:\Documents and Settings\username\My Documents</code>.  Other <code>C:\Documents and Settings\username</code> locations, where application-specific or local settings are commonly stored, also appear not to have vim settings.  The same is true for %HOMEDRIVE% and for the environment variables.</p>