0

I am using VIM 7.2 remotely (in a server), and when I try to hit the question mark (in insert mode) it exits insert mode, and prompts for a backward search. In short, I can't type ? as plain text inside the edited file, even in insert mode.

The only available way to input ? in my computer is via RIGHT ALT+W key combination.

Thus, how can I change the key binding for backward search and release ? to be used as text?

It never happened to me in any VIM version I have ever used...

Thanks!

--

UPDATE: I discovered the source of the issue: it only happens when I am accessing the server via Windows terminal with OpenSSH. When accessing it from standard Ubuntu terminal, everything goes normal. There is actually no solution other than to access the server through other methods, as stated in the comments by @Heptite.

3
  • 1
    This is definitely not normal Vim behavior. What does :verbose imap ? show?
    – Heptite
    Sep 30, 2014 at 21:14
  • @Heptite: I discovered the source of the issue; it only happens when I am accessing the server via Windows terminal with OpenSSH. When accessing it from my Ubuntu, everything goes normal.
    – Girardi
    Oct 1, 2014 at 0:07
  • I either use PuTTY, or Cygwin's Mintty and ssh.
    – Heptite
    Oct 1, 2014 at 3:23

0

You must log in to answer this question.

Browse other questions tagged .