Re: Determine whether vim is loading or whether the VimEnter event was already fired

2010-09-11 Thread Tom Link
Hi, > has("vim_starting") It's probably worth mentioning that vim_starting is set to 0 before the VimEnter event is triggered: autocmd VimEnter * echom has('vim_starting') => 0 But that's ok. Regards, Tom -- You received this message from the "vim_use" maillist. Do not top-post! Type your re

how to jump to a Fortran tag from with C

2010-09-11 Thread Mathew Yeates
Hi I am using exhuberant ctags and I am dealing with C code that calls Fortran code. So if the name of the Fortran subroutine is Foo, I call it from C as Foo_ (i.e. with an appended underscore) How can I get it to work so that C-] sends me to Fortran subroutine? -Mathew -- You received this mes

Re: How to copy the name of the variable / function under the cursor?

2010-09-11 Thread caruso_g
> >>   "+yiw > > I'm sorry - I'm not understanding what you're doing here. Wouldn't 'i' > put you into insert mode and then there would be a 'w' character > that's pasted. if i is the first character you digit, yes, it goes in insert mode, while, using it before a text-object, it means "inner"-tex

Re: How to make saveas default to original file's directory?

2010-09-11 Thread Gary Johnson
On 2010-09-11, Ven Tadipatri wrote: > On Thu, Sep 9, 2010 at 12:58 PM, Gary Johnson wrote: > > On 2010-09-09, lessthanideal wrote: > >> I'm using Windows VIM 7.3.2 (the Vim without Cream build) > >> > >> :saveas puts the new file into the current working directory if > >> no path is specified.  I

Re: How to copy the name of the variable / function under the cursor?

2010-09-11 Thread ZyX
Ответ на сообщение «Re: How to copy the name of the variable / function under the cursor?», присланное в 21:15:24 11 сентября 2010, Суббота, отправитель Ven Tadipatri: > I'm sorry - I'm not understanding what you're doing here. Wouldn't 'i' > put you into insert mode and then there would be a 'w

Re: How to copy the name of the variable / function under the cursor?

2010-09-11 Thread Tim Chase
On 09/11/10 12:15, Ven Tadipatri wrote: "+yiw I'm sorry - I'm not understanding what you're doing here. Wouldn't 'i' put you into insert mode and then there would be a 'w' character that's pasted. Whever I want to paste, I just use 'P'. "iw" in this context is a "text object" ("inner word"

Re: How to make saveas default to original file's directory?

2010-09-11 Thread Ven Tadipatri
On Thu, Sep 9, 2010 at 12:58 PM, Gary Johnson wrote: > On 2010-09-09, lessthanideal wrote: >> I'm using Windows VIM 7.3.2 (the Vim without Cream build) >> >> :saveas puts the new file into the current working directory if >> no path is specified.  I want it to default to the directory of >> the or

Re: How to copy the name of the variable / function under the cursor?

2010-09-11 Thread Ven Tadipatri
On Sat, Sep 11, 2010 at 3:37 AM, caruso_g wrote: >>   "+yiw I'm sorry - I'm not understanding what you're doing here. Wouldn't 'i' put you into insert mode and then there would be a 'w' character that's pasted. Whever I want to paste, I just use 'P'. Thanks for the tip on the buffers - it look

Re: Show the list of the file in vim just like the catgs list, how to do ?

2010-09-11 Thread Simon Ruderich
On Sat, Sep 11, 2010 at 12:24:48AM -0700, caruso_g wrote: > NERDTree is mouse free. ctrl+w+w to move to the NERDTree pane. Move > around Vim way and "o" to open a vertical split window of the file or > "t" to open the file silently in a tab, or "s" to open is split and so > on. Just look at NERDTre

Re: How to copy the name of the variable / function under the cursor?

2010-09-11 Thread caruso_g
>   "+yiw Why not directly yiw ? It will copy the word (or other text object) to the "0 buffer which is the latest yanked text and is not affected by deletions (which are assigned to buffers from 1 to 9). As stated, to take a look at your register, just digit :reg To select a register to p

Re: Show the list of the file in vim just like the catgs list, how to do ?

2010-09-11 Thread caruso_g
> But if possible try to find a non-mouse way. Using the mouse > really slows you down, Vim is much faster without a mouse (and > doesn't need one). NERDTree is mouse free. ctrl+w+w to move to the NERDTree pane. Move around Vim way and "o" to open a vertical split window of the file or "t" to open