Execute a script directly within vim/mvim/gvim

You can do this in vim using the ! command. For instance to count the number of words in the current file you can do:

:! wc %

The % is replaced by the current filename. To run a script you could call the interpreter on the file – for instance if you are writing a perl script:

:! perl %

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)