Executing a command in vim from a commandline

Posted by TK on Super User See other posts from Super User or by TK
Published on 2010-04-07T16:47:14Z Indexed on 2010/04/07 16:53 UTC
Read the original article Hit count: 206

Filed under:
|

I would like to run :helptags ~/.vim/doc in vim, but from command line.

The purpose is to run the command occasionally with other commands to keep my tools up-to-date (probably in a cron job on my development machine.

I looked around man vim, but cannot figure out what option I need to pass.

I think this is a general question for vim, but I'm using Mac and Ubuntu for the development.

© Super User or respective owner

Related posts about vim

Related posts about command-line