Quantcast
Channel: Execute Vim commands from shell - Vi and Vim Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by AnonymousLurker for Execute Vim commands from shell

From vim manpage: -c {command} {command} will be executed after the first file has been read. {command} is interpreted as an Ex command. If the {command} contains spaces it must be enclosed in double...

View Article



Execute Vim commands from shell

How to execute Vim commands from shell? For ex I want to see man pages of grep command in vim typing command from shell(bash,zsh) command something like:vim ':Man grep'Is it possible?

View Article
Browsing all 2 articles
Browse latest View live




Latest Images