Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim - Weird Behaviour

Tags:

vim

I just recently deleted my .vimrc, and since I've added a few things back in and added some plugins I get this weird behaviour.

  1. I click 'i' to place me in insert mode.
  2. I type a character (any character)
  3. Suddenly I get a newline break right where I started typing.

Extremely annoying! :) Any ideas on what this might be?

like image 565
Daniel Avatar asked Dec 03 '22 15:12

Daniel


1 Answers

Sanity check. What happens if you run as vim -C (compatibility mode, behave like plain vi) or vim -u NONE (don't load any initialization files or plugins)?

like image 162
John Kugelman Avatar answered Dec 27 '22 21:12

John Kugelman