[MacPorts] #14620: vim-app 7.1.* improvement to display stdin
#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
#14620: vim-app 7.1.* improvement to display stdin ------------------------------+--------------------------------------------- Reporter: itsme@xs4all.nl | Owner: raimue@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: ------------------------------+--------------------------------------------- Changes (by raimue@macports.org): * owner: macports-tickets@lists.macosforge.org => raimue@macports.org Comment: Thanks for the submission, I will look into it. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14620#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14620: vim-app 7.1.* improvement to display stdin ------------------------------+--------------------------------------------- Reporter: itsme@xs4all.nl | Owner: raimue@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ------------------------------+--------------------------------------------- Changes (by raimue@macports.org): * status: new => closed * resolution: => fixed Comment: This works for the case using 'gvim -' only, not then also specifying other arguments. But I committed it in r35212, as it is better then no handling of stdin. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14620#comment:2> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts