Fandom

Vim Tips Wiki

Command line switch to source a script

Redirected from VimTip266

1,624pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Tip 266 Printable Monobook Previous Next

created June 26, 2002 · complexity basic · author Max Ischenko · version 6.0


Use the -S option to start Vim and source a script file:

gvim -S foobar.vim

This tip is trivial, but I see the following too often. Time to update your mind!

gvim -c ":so foobar.vim"

CommentsEdit

Also on Fandom

Random Wiki