> :.w !foo.sh I tried but did not work. Cause the directory was not in the PATH, I had to use :.w !./foo.sh
foo.sh: echo $* > a.txt after the command, a.txt had only one empty line. This returned an empty line. > > all chars are important (their order etc.): > > '.' means current line; see ':help :range' > "w !" is important to write well as it is a big difference between ':w! ' and > ':w !' > > No functions are needed. This is vim, not emacs :-) Would be nice if it would work ;) cheers -- jerik --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
