Mapped commands in VIM starting with a Comma
Posted
by Boldewyn
on Super User
See other posts from Super User
or by Boldewyn
Published on 2010-04-07T08:34:31Z
Indexed on
2010/04/07
8:43 UTC
Read the original article
Hit count: 375
In my .vimrc, I defined this line:
map ,ps <Esc>:!ps<Space>-a<CR>
The mapping is set (which I controlled via :verbose map ,ps
while inside vim). There is nothing else mapped to the comma.
However, if I type the command in command mode, nothing is displayed in the status bar, the comma is ignored, the p
movement and the s
insert are triggered. (I.e., VIM reacts, as if there was no command ,ps
.)
Is there any magic that I have overlooked in enabling comma-started mapped commands?
© Super User or respective owner