#14620: vim-app 7.1.* improvement to display stdin -----------------------------+---------------------------------------------- Reporter: itsme@xs4all.nl | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: | -----------------------------+---------------------------------------------- by testing if the first parameter of /opt/local/bin/gvim equals '-' and then executing {{{ cat | exec "$binary" .... }}} instead of just {{{ exec "$binary" }}} you can open stdin in vim-app. for example you can use it like this: {{{ ls | gvim - }}} and get the directory contents in vim. attached is the complete modified {{{gvim}}} script -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14620> MacPorts </projects/macports> Ports system for Mac OS