Re: Different working directories in different tabs

2011-06-01 Thread Martin Lundberg
Weird. I was 100% it did work yesteday when I was discussing this in the #vim irc channel. However now it works just as all of you've said. :) -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, vis

Re: syntax highlighting perl with large multiline html strings

2011-06-01 Thread Shlomi Fish
Hi Fred, just a tangential note. On Tuesday 31 May 2011 23:02:58 Fred Malone wrote: > Hi all, > > I apologize if this has been asked before. I do a lot of programming in > perl as cgi files and such. Many of the scripts I work on do a lot of html > printing. Frequently there are multi-line ht

Re: Restore file from undo

2011-06-01 Thread Christian Brabandt
On Tue, May 31, 2011 9:35 pm, Vsevolod Velichko wrote: > 2011/5/31 Christian Brabandt : >> Hm, if I remember correctly, the inodes are zeroed out, when a file is >> deleted for ext3 and ext4. That's why extundelete only works correctly >> with ext2. > > Not exactly. > > There is even utility ext3gr

Re: Weird auto-comment after 72 lines

2011-06-01 Thread Efraim Yawitz
Try :help cinoptions (specifically, the *N value for which the help says: *NVim searches for unclosed comments at most N lines away. This limits the time needed to search for the start of a comment. (default 30 lines). I think that the help may be out of date, because

expand "(" doesn't work

2011-06-01 Thread sinbad
hi, doesn't expand("") work if the cursor is under "(". it works for ")" though. any reason for this ? i am running vim 7.0 thanks sinbad -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit ht

Re: [HELP]perl-support problem on gvim 7.3

2011-06-01 Thread Shlomi Fish
Hi, On Wednesday 01 Jun 2011 04:51:01 zhang listar wrote: > The os is windows xp sp3, with gvim 7.3. > > I am new to Perl, and want to use vim to edit perl, so I download > perl-support and install it. > > But when I start gvim to edit a file say, test.pl. it gives the error as > follows: > > c

Re: Weird auto-comment after 72 lines

2011-06-01 Thread Thilo Six
Efraim Yawitz wrote the following on 01.06.2011 13:38 > Try :help cinoptions (specifically, the *N value for which the help says: > > *NVim searches for unclosed comments at most N lines away. This > limits the time needed to search for the start of a comment. > (defa

Folding

2011-06-01 Thread Eric Weir
I'm a Vim novice, and a writer not a programmer. I've perused the responses to questions about folding in the Vim FAQ. It's largely Greek to me. I have a couple questions: I understand folds can be indented. Is it possible to get Vim to wrap words to the indent column? Is there a way I can get

Re: Vim scripts: insert new line staying with normal mode

2011-06-01 Thread Steven Lee
Thank you, Tim. A good approach! Also thank you, Gary. I misunderstand double quote. 2011/5/31 Gary Johnson : > On 2011-05-31, Steven Lee wrote: >> Hi all, >> >> It sounds like some vim users have asked similar question, but not >> exactly what I want. >> >> I attempt to write a function implemen

Plugin to continue text at top

2011-06-01 Thread Gísli Freyr Brynjarsson
Hi guys When I was reading an article the other day I came across a complaint from some IT-guy that he missed that today's editors, when they had reached last line, couldn't "expand" and continue the file in an attached window. In the answers someone said that Vim could infact do this. I asked him

vim and *.doc

2011-06-01 Thread Rodrigo Filippi
Hi buddies Anyone have any idea of a plugin or add-on which will work Msoffice documents (Word in particular) in the vim way? Regards Rodrigo -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: Weird auto-comment after 72 lines

2011-06-01 Thread Ben Fritz
On Jun 1, 8:31 am, Thilo Six wrote: > Efraim Yawitz wrote the following on 01.06.2011 13:38 > > > Try :help cinoptions (specifically, the *N value for which the help says: > > >     *N    Vim searches for unclosed comments at most N lines away.  This > >           limits the time needed to searc

Re: vim and *.doc

2011-06-01 Thread Marc Weber
Excerpts from Rodrigo Filippi's message of Wed Jun 01 16:09:58 +0200 2011: > Anyone have any idea of a plugin or add-on which will work Msoffice > documents (Word in particular) in the vim way? Can't you just use google and try "vim microsoft office" "vim emulation office" "vi keys office" If thi

Re: Folding

2011-06-01 Thread Ben Fritz
On Jun 1, 8:37 am, Eric Weir wrote: > I'm a Vim novice, and a writer not a programmer. I've perused the responses > to questions about folding in the Vim FAQ. It's largely Greek to me. I have a > couple questions: > I understand folds can be indented. How do you mean? You can fold based on e

Re: vim and *.doc

2011-06-01 Thread Eric Weir
On Jun 1, 2011, at 10:09 AM, Rodrigo Filippi wrote: > Anyone have any idea of a plugin or add-on which will work Msoffice documents > (Word in particular) in the vim way? QuickCursor. Use Vim in any application. http://www.hogbaysoftware.com/products/quickcursor --

Re: gf and new tab

2011-06-01 Thread Dave Land
On May 31, 2011, at 11:34 PM, Jürgen Krämer wrote: > eNG1Ne wrote: > >> Chuffed at remembering, after seeing it go past in the group, that gf >> opens the file under the cursor … less chuffed that when I use gf to >> check an include file, this closes the file I'm currently working on >> :-{ Any

Re: expand "(" doesn't work

2011-06-01 Thread Gary Johnson
On 2011-06-01, sinbad wrote: > hi, > > doesn't expand("") work if the cursor is under "(". > it works for ")" though. any reason for this ? > i am running vim 7.0 I'm running 7.3.189 and it behaves differently. I started vim as $ vim -N -u NONE and used the line Now is the (time)

Re: Any way to change cursor type when enter insert mode for terminal VIM on MAC?

2011-06-01 Thread Tony Mechelynck
On 31/05/11 13:42, wei gao wrote: Hi, All I did a lot of serarch and seems mission is impossible. T_SI is not working on MAC. It's not so convinent to see same cursor in normal mode and insert mode. Thanks! One possibility is to use gvim or macvim: IIUC, in those GUI versions you have full mas

Re: Plugin to continue text at top

2011-06-01 Thread Charles Campbell
Gísli Freyr Brynjarsson wrote: Hi guys When I was reading an article the other day I came across a complaint from some IT-guy that he missed that today's editors, when they had reached last line, couldn't "expand" and continue the file in an attached window. In the answers someone said that Vim

Vim running in subshell with limited features

2011-06-01 Thread feebleuser
When running VIM from a subshell (ksh Version AJM 93t+ 2010-02-02) I am unable to use features like visual block or screen splitting. However, if I run VIM from the login shell these features work fine. What about running VIM in a subshell might cause these features to not work properly? Apologi

Re: Vim running in subshell with limited features

2011-06-01 Thread Tim Chase
On 06/01/2011 01:48 PM, feebleuser wrote: When running VIM from a subshell (ksh Version AJM 93t+ 2010-02-02) I am unable to use features like visual block or screen splitting. However, if I run VIM from the login shell these features work fine. What about running VIM in a subshell might cause t

Re: Vim running in subshell with limited features

2011-06-01 Thread Gary Johnson
On 2011-06-01, feebleuser wrote: > When running VIM from a subshell (ksh Version AJM 93t+ 2010-02-02) I am > unable to use features like visual block or screen splitting. > > However, if I run VIM from the login shell these features work fine. > > What about running VIM in a subshell might cause

Re: Rails plugin menu

2011-06-01 Thread LuisC
Hi! after setting my _vimrc with: set nocompatible syntax on filetype plugin indent on the plugin menu just appeared! Thank You! On 31 mayo, 01:01, Steve Hall wrote: > On Fri, 2011-05-27 at 17:38 -0700, LuisC wrote: > > > I'am new to VIM.  I would like to try VIM as IDE for Rails 3.0.7/ >

Odd python issue

2011-06-01 Thread Where Where
Hello all. When I enter this command: autocmd CursorMoved * py print "1\n2\n3\n4" ...and then move around, vim only displays "4." By contrast, when I enter 'print "1\n2\3\n4", all four numbers are printed. Does anybody know why this may be? Many thanks, Daniel -- You received this message fro

Re: expand "(" doesn't work

2011-06-01 Thread sinbad
On Jun 1, 11:19 pm, Gary Johnson wrote: > On 2011-06-01, sinbad wrote: > > hi, > > > doesn't expand("") work if the cursor is under "(". > > it works for ")" though. any reason for this ? > > i am running vim 7.0 > > I'm running 7.3.189 and it behaves differently.  I started vim as > >     $ vim -