How can I get vim autocompletion working in iTerm

2

I recently switched from MacVim to regular Vim in iTerm. I've been encountering an issue where I can't get vim's autocompletion to trigger using Ctrl-N.

Instead, I get iTerm's autocompletion which autocompletes differently than Vim's.

iTerm's Autocomplete Vim's autocomplete

I've tried going into the iTerm preferences and remapping Ctrl-N to ignore. I'm not sure if that's just preventing that input from reaching Vim but it does disable the iTerm autocompletion.

tanman

Posted 2015-11-03T16:40:07.863

Reputation: 91

The default shortcut for iTerm's completion is Cmd-;. – romainl – 2015-11-04T09:47:51.027

Answers

2

Turns out I had set a shortcut setting in System Preferences that had overridden that key a long time ago and forgot about it. That's what was causing the issue.

tanman

Posted 2015-11-03T16:40:07.863

Reputation: 91