bug
bug

Reputation: 565

weird space behavior in vim

I'm running the Win32 console executable (v73) in Windows XP in cmd.exe and when I insert a space things get weird.

It kinda swallows a character and puts the space behind the cursor or something. For example when I write "hello there" it comes out as "helo there ".

What the hell is this?

Upvotes: 0

Views: 174

Answers (1)

Ingo Karkat
Ingo Karkat

Reputation: 172600

When this doesn't happen with -N -u NONE, that means it's caused by your config or plugins.

You can check which plugins are sourced via :scriptnames. Often, a binary search where you disable half of your plugins, then only one half of that (when the problem is still there), or the other half (when the problem vanished) lets you get to the problematic script quickly.

Apart from that, look for a mapping

:verbose imap <Space>

or for relevant autocmds

:autocmd CursorMovedI

Upvotes: 1

Related Questions