Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim: underscore(_) automatically converted to (<-)

Tags:

vim

r

settings

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!

like image 759
tejas_kale Avatar asked Dec 06 '22 02:12

tejas_kale


1 Answers

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

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

like image 71
Ingo Karkat Avatar answered Dec 18 '22 17:12

Ingo Karkat