Is Control+Space bound by default?

618 views
Skip to first unread message

Nickolay Kolev

unread,
Sep 6, 2011, 4:50:27 PM9/6/11
to iterm2-...@googlegroups.com
Is Control+Space bound to some action in iTerm by default? I cannot see it in the "Global Shortcut Keys" list in the preferences.

Background: I bound this shortcut in .vimrc and it works in MacVim, but not in vim when running inside iTerm.

Best,
Nickolay

George Nachman

unread,
Sep 6, 2011, 5:19:01 PM9/6/11
to iterm2-...@googlegroups.com
Yes, by default it sends ASCII code 0.  You can verify this by running cat and pressing control-space. It should print ^@, which signifies the nul character. Not sure why vim would have a problem with this, though.

Nickolay Kolev

unread,
Sep 6, 2011, 6:44:28 PM9/6/11
to iterm2-...@googlegroups.com
> Yes, by default it sends ASCII code 0.  You can verify this by running cat
> and pressing control-space. It should print ^@, which signifies the nul
> character.

Indeed, it does.

> Not sure why vim would have a problem with this, though.

It seems like the character is getting to vim (in insert mode press
Ctrl-v and then Ctrl-space). Not sure why I cannot map it in normal
mode though.

Any terminal vim users out there have and idea?

Reply all
Reply to author
Forward
0 new messages