Contents
What to do when Ctrl does not work in gVim?
If you just do not like Ctrl A behaviour but are fine with other windows behaviours in VIM (like Ctrl Z for undo), just disable that specific line: Reopen your GVIM windows. You can still “select all” by typing ggVG (position cursor at first line, select entire line, select until the last line of the document).
Can a gvim display underscore as white space?
The gvim installed in my gentoo linux can not properly display underscore ( _ ). Once it is typed, the screen displays a whitespace, same as the output after pressing space key. However, one can still distinguish underscore from white space by searching underscores (e.g., :/_).
Why does mswin.vim not work under gvim?
This is because of mswin.vim that is sourced by the default _vimrc generated when you install vim. Just override your _vimrc with the .vimrc you are using under *nix, or delete mswin.vim. I know I’m late to the party, but I thought I’d share the following: This remaps increment to the + key on the numeric keypad and decrement to the – key.
How to increment a variable under the cursor in Vim?
I’m trying to use the < C-a> ( CTRL + A) shorcut under vim to increment a variable under the cursor. This works fine under vim running on Linux. However when I try to do this in gvim under windows it “selects all” (i.e. highlights or visually selects all text in the current window).
Why is my number pad not working with Vim?
Vim does not seem to like that very much. I am using PuTTY for Windows to SSH into a computer running Debian. Pressing 123 enters me this regardless of if I am in insert mode or not:
Why is number pad not working with VI and putty?
Number pad not working with vi and Putty? When I am editing a file in vim via SSH, I will try to use the number pad on my keyboard to enter long numbers (like IP addresses). Vim does not seem to like that very much. I am using PuTTY for Windows to SSH into a computer running Debian.
Why are my Ctrl keys not working in Vim?
The problem is due to default setting of Virtual box. In Oracle Virtual Box you can see by default right control is using as Host key combination. Go to File -> Preferences-> Input and change Host key combination to “None”. Initially for me also left ctrl worked and after the above changes both keys working.
Why does my gvim escape key not work?
I recently started working with a windows machine and installed gVim, but somehow the escape key does not work – rendering gVim practically useless. Is it possible that my computer sends out an unusual character for the escape key? Is there any way to test this hypothesis?
Are there any keyboard shortcuts for Vim on Windows?
It keeps the Windows compatibility and is easier to remember than the original Ctrl + A / Ctrl + X as well. Vim on Windows has specialized key mappings by default to make shortcuts more “windows-y”. These are specified in the $VIMRUNTIME\\mswin.vim file, which is loaded via your vimrc unless you disabled it.