Charles E Campbell Jr wrote:
Waters, Bill wrote:
Does anyone have experience with running gVim and using Cygwin
commands (ex. indent)? I would prefer not to run vim in a Cygwin
terminal, unless someone has all of the configurations needed (syntax
highlighting, etc) to have that act like gVim.
I generally compile both gvim and vim under cygwin, and haven't run into
any problems. I haven't used indent, though. The problems I generally
have had have been with Windows' paths and trying to get netrw to
understand them properly, but that's not because of gvim and cygwin.
If you already have cygwin, just get vim 7.0 source, and go to its
source directory.
gmake -f Make_cyg.mak
will make gvim.exe by default. Edit Make_cyg.mak, and change GUI=yes
to GUI=no, and type the same command above. That way you'll get
vim.exe. Its really quite straightforward!
Regards,
Chip Campbell
Make_cyg.mak uses Cygwin tools to (cross-) compile a native-Windows Vim or
gvim which doesn't need Cygwin to run and doesn't understand the POSIX paths
of cygwin. It won't interface easily with Cygwin bash (or any other Cygwin
program for that matter).
To compile a Unix-like "Vim for Cygwin" you must use the top-level Makefile or
the src/Makefile which will invoke a configure step. If configure finds the
necessary headers and libraries it may compile a GUI version of Vim, which
will need Cygwin to run, and X11 to display a GUI.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
153. You find yourself staring at your "inbox" waiting for new e-mail
to arrive.