Inevitable VIM plug-in for eclipse?

2006-06-01 Thread Furash Gary
As much as I love vim (write school papers, do meeting notes, program),
in the software side of the world everything seems to be going eclipse.
Particularly as you have these complex software frameworks, and
eclipse does stuff to modify them.
 
Are there any plans as part of the main VIM project to integrate it with
Eclipse?



Gary Furash, MBA, PMP, Applications Manager
Maricopa County Attorney's Office




RE: Inevitable VIM plug-in for eclipse?

2006-06-01 Thread Furash Gary
Oooo...  Coool.  Thanks! 

-Original Message-
From: Yegappan Lakshmanan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 01, 2006 11:09 AM
To: Furash Gary
Cc: vim@vim.org
Subject: Re: Inevitable VIM plug-in for eclipse?

Hello,

On 6/1/06, Furash Gary [EMAIL PROTECTED] wrote:
 As much as I love vim (write school papers, do meeting notes, 
 program), in the software side of the world everything seems to be
going eclipse.
 Particularly as you have these complex software frameworks, and 
 eclipse does stuff to modify them.

 Are there any plans as part of the main VIM project to integrate it 
 with Eclipse?



You can try using eclim:

http://eclim.sourceforge.net/

- Yegappan


MRU, OS X, Vim 7 and too many files

2006-05-30 Thread Furash Gary
When I try to use MRU (the Most Recently Used script) with Vim 7 on OSX,
it throws the error that I can only use one filename.  I think it's
choking on the spaces in filenames.  Is there any way I can fix this?


RE: MRU, OS X, Vim 7 and too many files

2006-05-30 Thread Furash Gary
File: mru.vim
Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com) 

-Original Message-
From: Yegappan Lakshmanan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 30, 2006 9:36 AM
To: Furash Gary
Cc: vim@vim.org
Subject: Re: MRU, OS X, Vim 7 and too many files

Hello,

On 5/30/06, Furash Gary [EMAIL PROTECTED] wrote:
 When I try to use MRU (the Most Recently Used script) with Vim 7 on 
 OSX, it throws the error that I can only use one filename.  I think 
 it's choking on the spaces in filenames.  Is there any way I can fix
this?


Which MRU Vim plugin are you using?

- Yegappan


RE: FW: Vimspell on mac problems

2006-05-25 Thread Furash Gary


-Original Message-
From: Benji Fisher [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 6:40 AM
To: vim@vim.org; [EMAIL PROTECTED]
Subject: Re: FW: Vimspell on mac problems

On Mon, May 22, 2006 at 06:42:36AM -0700, Furash Gary wrote:
 My vimspell with 7.0 seems to work okay on the mac os x at first - it 
 shows words with problems, but if I right click and pick a replacement

 word it crashes.
 Gary Furash, MBA, PMP, Applications Manager Maricopa County Attorney's

 Office

 I cannot reproduce this problem.  What version of OS X are you
using (and if it is 10.4.x, is your machine Intel or PPC based)?  Did
you compile yourself or where did you get Vim.app?  Please give your
:version output and details on what leads to a crash.

 I tested with OS X 10.3.9 (PPC) vim 7.0 compiled with huge
features.

 I do see other problems with spell checking from the PopUp menu; I
will discuss these on the vim-dev list.  The crashing problem should
probably move to the vim-mac list.

HTH --Benji Fisher


RE: How to get cygwin command line to know where it is - seems okay now

2006-05-24 Thread Furash Gary
All the suggestions worked.

1. I put everything in .bash_profile (just easier)
2. I have the following statements in my _vimrc

set shell=C:/cygwin/bin/bash 
set shellxquote=\ 
set shellcmdflag=-c 
let $BASH_ENV='~/.bash_profile 

-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 23, 2006 7:06 PM
To: Gerald Lai
Cc: Eric Arnold; Furash Gary; Gary Johnson; vim@vim.org
Subject: Re: How to get cygwin command line to know where it is

Gerald Lai wrote:
 On Wed, 24 May 2006, A.J.Mechelynck wrote:

 Eric Arnold wrote:
 Off hand, I can't remember the exact name, but I think that there is

 a special rc filename that is executed even when it isn't a login 
 shell.
 [...]

 Yes, I think so too, and I don't remember it offhand either, but man

 bash (which is quite long for a manpage) will tell you.

 Perhaps it's called .bashenv? Not sure. I use ZSH. It's equivalent 
 is .zshenv.
 --
 Gerald


As said under INVOCATION in the bash manpage:

Login shell: /etc/profile (if found), then the first one (if any) found
readable among ~/.bash_profile, ~/.bash_login, ~/.profile (all this
unless --noprofile). At exit: ~/.bash_logout (if found).

Non-login interactive shell: ~/.bashrc (if found) unless --norc

Non-interactive shell: does as if executing if [ -n BASH_ENV ]; then .
$BASH_ENV; fi but doesn't search the $PATH

There are more details about what bash does when invoked as sh, when
invoked in posix mode, when invoked by the remote shell daemon, or when
invoked in suid mode.

Under FILES, two additional files (for readline initialization) are
mentioned.


Best regards,
Tony.


RE: Vim for Palm

2006-05-23 Thread Furash Gary
I tried SiEd - pedit seemed more complicated than I need.  Still would
be nice to have vim for palm os. 

-Original Message-
From: Marv Boyes [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 22, 2006 10:53 AM
To: vim@vim.org
Subject: Re: Vim for Palm

In terms of power beyond just editing, you can't do any better on Palm
than pedit (http://www.osuweb.net/~pc/pedit/man/pedit_man.html).
Scriptable and as feature-rich as Palm apps come. It's only vim-like
in terms of its power.

If you'd rather go the free route, there's SiEd
(http://benroe.com/sied/index.shtml). I've used this one for awhile and
like it. It edits and saves as plain text, supports macros, and offers
an optional split screen for editing two files at once. Not as powerful
as pedit, but much more straightforward in its operation.

Vim on palm would be nice indeed, especially if you use an external
keyboard.



On 5/22/06, Furash Gary [EMAIL PROTECTED] wrote:
  There used to be a build but I haven't found anything recently.  Does

 anyone know of a vim or vi like thing available for palms?



How to get cygwin command line to know where it is

2006-05-23 Thread Furash Gary
I'm using VIM on windows with cygwin.  In my _vimrc I've got the
following

 automatically swithc directories 
set autochdir

 For cygwin shell
set shell=C:/cygwin/bin/bash 
set shellcmdflag=--login\ -c 
set shellxquote=\ 

When I try to use cygwin stuff with the ! command or similar things
from vim, it doesn't seem to know where it is.

That is, if I open up a file on the desktop with gvim, and do

:pwd

It prints out the path of the desktop (thanks to autochdir I think).
However, if I do

:! pwd

It prints out the location of my windows home directory.  Is there
anyway I could automatically pass to the shell the location it should
start in?


RE: How to get cygwin command line to know where it is

2006-05-23 Thread Furash Gary
I copied it from a vim help note without really understanding it.  Makes
100% sense now, but... Is there still a way to get it to act like I've
logged in (e.g., run .bashrc etc.)?  

-Original Message-
From: Gary Johnson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 23, 2006 3:14 PM
To: vim@vim.org
Subject: Re: How to get cygwin command line to know where it is

On 2006-05-23, Furash Gary [EMAIL PROTECTED] wrote:
 I'm using VIM on windows with cygwin.  In my _vimrc I've got the 
 following
 
automatically swithc directories 
   set autochdir
 
For cygwin shell
   set shell=C:/cygwin/bin/bash 
   set shellcmdflag=--login\ -c 
   set shellxquote=\ 
 
 When I try to use cygwin stuff with the ! command or similar things 
 from vim, it doesn't seem to know where it is.
 
 That is, if I open up a file on the desktop with gvim, and do
 
   :pwd
 
 It prints out the path of the desktop (thanks to autochdir I think).
 However, if I do
 
   :! pwd
 
 It prints out the location of my windows home directory.  Is there 
 anyway I could automatically pass to the shell the location it should 
 start in?

The problem is the --login option that you included in 'shellcmdflag'.
Every shell that you execute from vim is executed as a login shell,
which means it starts in your home directory.  If you just

set shellcmdflag=-c 

instead, it should work fine.

Why did you include --login?

Gary

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Wireless Division
 | Spokane, Washington, USA


RE: How to get cygwin command line to know where it is

2006-05-23 Thread Furash Gary
Just tried it and ran into the problem I thought I would.  Removing
login eliminates the problem of it not knowing where it is, but it no
longer runs .profile and so on, so as a result it's missing my changes
to the path, aliases, etc.

Hmm...

-Original Message-
From: Gary Johnson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 23, 2006 3:14 PM
To: vim@vim.org
Subject: Re: How to get cygwin command line to know where it is

On 2006-05-23, Furash Gary [EMAIL PROTECTED] wrote:
 I'm using VIM on windows with cygwin.  In my _vimrc I've got the 
 following
 
automatically swithc directories 
   set autochdir
 
For cygwin shell
   set shell=C:/cygwin/bin/bash 
   set shellcmdflag=--login\ -c 
   set shellxquote=\ 
 
 When I try to use cygwin stuff with the ! command or similar things 
 from vim, it doesn't seem to know where it is.
 
 That is, if I open up a file on the desktop with gvim, and do
 
   :pwd
 
 It prints out the path of the desktop (thanks to autochdir I think).
 However, if I do
 
   :! pwd
 
 It prints out the location of my windows home directory.  Is there 
 anyway I could automatically pass to the shell the location it should 
 start in?

The problem is the --login option that you included in 'shellcmdflag'.
Every shell that you execute from vim is executed as a login shell,
which means it starts in your home directory.  If you just

set shellcmdflag=-c 

instead, it should work fine.

Why did you include --login?

Gary

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Wireless Division
 | Spokane, Washington, USA


FW: external.exe for OS X

2006-05-22 Thread Furash Gary

 
One of the best utilities ever is the external exe thing that lets you
copy text any windows app to a vim screen, then saves the result back -
letting you use vim everywhere.
 
Is there a similar tool for OSX?
 
G
 
Gary Furash, MBA, PMP, Applications Manager
Maricopa County Attorney's Office


FW: Vimspell on mac problems

2006-05-22 Thread Furash Gary
My vimspell with 7.0 seems to work okay on the mac os x at first - it
shows words with problems, but if I right click and pick a replacement
word it crashes.
Gary Furash, MBA, PMP, Applications Manager
Maricopa County Attorney's Office


RE: FW: Vimspell on mac problems

2006-05-22 Thread Furash Gary
Whoops, I should have clarified.  I'm using the built-in spell checker
that comes with 7.