Ross Beehler
unread,Sep 16, 2011, 8:11:08 AM9/16/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_use
In Windows, when I run vim with the -s command line argument and the
scriptin file calls the input function, the following line is not
entered as input, but is instead executed as normal commands. For
example, with the following command file:
:call input("Enter something: ")
something
If I start vim with the following command:
vim -s commands
the result is this (line numbers included):
1 omething
2
3
As you can see, it uses 's' in 'something' to enter INSERT mode and
then types the remainder of the commands instead of allowing
'something' to fulfill the input function call.
Any ideas?
This does work on my MacBook Pro.
As a side note, this functionality is necessary when using the robot-
vim ruby gem, which is required for developing the vim-ruby-
refactoring vim plugin.
Thanks,
Ross