Whenever I start vim it thinks I have pressed 'd'. How do I stop this behavior? -
Whenever I open the Vim, the first key that I remove from the press. It seems that 'D' has been pressed, so if I type 'j' it removes the first two rows and if I press 'j' then it will destroy everything I own .vimrc and select The commenting section has been checked, this line appears:
nnoremap & lt; C - [& gt; GT ... but I do not think this would be the reason ...?
& lt; C - [& gt; (or ^ [) & lt; Esc & gt; , an important key, especially in the terminal, sending input keys and the control of the screen is based on ("ANSI escape sequence"). (This is less an issue in GVM, for which it applies to its own.) Therefore, that key should not be mapped! Choose a different. (Also not in the form of mapping (such as x ), because the Vim is waiting for other keys.) The way in which the keyboard input is controlled internally, the current is currently & lt; C - [& gt; and & lt; Esc & gt; can not be different. Ctrl + non-alphabet can not be mapped, and Ctrl + letter vs Ctrl + Shift + The letter can not be separated. (Unless your terminal sends a specific terminal cap code for it, which does not do much.) This & lt; Tab & gt; / & lt; C-I & gt; , & lt; CR & gt; / & lt; C-M & gt; / & lt; Esc & gt; / & lt; C - [& gt; etc. (Exception only & lt; BS & gt; / & lt; CH & gt; ) This is a known pain point, and various on Vim_dev and #vim IRC channels About the discussions. Some people (most importantly Paul Leonard Evans) want to fix it (even for console wins in the terminals which support it), and have prepared different proposals, cp.
But as of today, no patch or volunteers have come forward yet, although many have expressed the desire to release the VIM 8 major release in the future.
Comments
Post a Comment