I have strange problem with my vim. In shell when I edit file my VIM triggers (probably) d key (running vim test.txt
). When I press j he deletes first 2 lines. Everything works ok when i run without my .vimrc file (so I think that is my fault) or when I run gvim.
- My .vimrc file
- My .vim directory (vimrc file mapped as symlink in system)
:verbose imap j
to see wherej
could have been remapped. Also I've read recently that mappings using<Esc>
could cause weird problems. What is your$TERM
?