Vim:下划线(_)自动转换为(&lt ;-) [英] Vim: underscore(_) automatically converted to (<-)

查看:128
本文介绍了Vim:下划线(_)自动转换为(&lt ;-)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Vim中编写R脚本已有一段时间了.从一个小时前开始,我开始遇到一个问题,每次输入下划线(_)时,它都会自动转换为<-.

I have been writing R scripts in Vim for some time now. Starting an hour ago, I began facing an issue that every time I type an underscore (_), it gets automatically converted to <-.

我为此更改了什么设置?谢谢!

What setting did I change for this to happen? Thanks!

推荐答案

:verbose imap _应该告诉您哪个(可能是文件类型插件)对此进行了设置.

:verbose imap _ should tell you which (probably filetype plugin) has set this.

它不太可能是缩写,但是:verbose ia _会告诉你.

It's less likely to be an abbreviation, but :verbose ia _ would tell you.

这篇关于Vim:下划线(_)自动转换为(&lt ;-)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆