How do I paste non-ASCII characters into vim?

前端 未结 4 1475
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 11:30

My terminal emulator is configured for Unicode character encoding and my .vimrc contains the line

set encoding=utf-8

but when I try pasting

4条回答
  •  醉酒成梦
    2020-12-29 11:46

    The solution was to uncheck the "Escape non-ASCII input" checkbox in the Advanced tab of the Terminal.app settings.

提交回复
热议问题