user9618012
user9618012

Reputation:

vim insert mode dollar sign is slow

I'm new to vim. I use predefined .vimrc and have some small problems with it. Whenever I type the $ sign in insert mode, the insertion stops for a moment, and if I would type, for example, 1 afterwards two brackets () will be inserted. I don't know which of the plugins causes this behavior but I would like to disable it.

Can someone help me?

Upvotes: 3

Views: 368

Answers (1)

gregory
gregory

Reputation: 12895

The documentation for this framework spells out this mapping on its main page:

inoremap $1 ()<esc>I

This mapping and related ones are specified in the extended vimrc file starting on line 82: https://github.com/amix/vimrc/blob/master/vimrcs/extended.vim

So, just delete those mappings in your copy of that file.

Note: I don't know anything about this project, nor have I tested this out. I'm just assuming this will work after quickly reviewing the project with the link you provided.

Upvotes: 2

Related Questions