Text editor with shell integration
Luc Hermitte
hermitte@free.fr
Fri May 7 16:10:00 GMT 2010
Hello,
"lood" <loodzieknvm@yahoo.com> wrote :
> How could I integrate my text editor (e.g. Notepad++) to run
> it easily from Cygwin? I mean, something similiar to
> "notepad ./file.ext"
> this works, I just want to use Notepad++ instead of standard Windows
> editor ("notepad++ ./file.ext" or something like that). Where I can
> add this functionality? Thanks.
I have written cyg-wrapper.sh to answer this need.
http://hermitte.free.fr/cygwin/#Win32
The alias I give as example in the documentation is for gvim.
If your editor does not have special parameters that must not be
handled as pathnames that need translation, you can simply play
with $(cygpath -l "$@") as others have already told you.
HTH,
--
Luc Hermitte
http://lh-vim.googlecode.com/
http://hermitte.free.fr/vim/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list