Re: :while problem

2006-08-15 Thread Bill McCarthy
On Tue 15-Aug-06 7:42pm -0600, Hari Krishna Dara wrote: > I haven't been following the thread, but thought the below information > is relevant. > > The commands that can't be followed by a '|' are listed under ":help > :bar". There are some tricks to workaround, such as using :exec and > , but the

Re: fast file locating plugin (like ido.el in emacs)

2006-08-15 Thread Hari Krishna Dara
On Wed, 16 Aug 2006 at 11:08am, Eddy Zhao wrote: > > > > > > - Without "set shellslash", open one file manually, open lookupfile window, > > >the path's backward slash is not replaced by forward slash > > > > This is because you are using a custom command that passed an initial > > path with

Re: fast file locating plugin (like ido.el in emacs)

2006-08-15 Thread Eddy Zhao
Hari: Could you upload the pervious version plugin? The latest version plugin always generate error message after I restart lookupfile window Thanks Eddy 2006/8/16, Eddy Zhao <[EMAIL PROTECTED]>: > > > - Sometimes, the following error msg popup when open file thru lookupfile > > >(after

Re: fast file locating plugin (like ido.el in emacs)

2006-08-15 Thread Eddy Zhao
> > - Sometimes, the following error msg popup when open file thru lookupfile > >(after that file is opened successfully). The problem can't be reproduced > >everytime (and can't find out how to reproduce it, I haven't seem > > this problem > >when using the previous version plugin) >

Re: Color change of :set cul or -V

2006-08-15 Thread cga2000
On Tue, Aug 15, 2006 at 08:49:51PM EDT, A.J.Mechelynck wrote: > cga2000 wrote: [..] > > > >What's "cul"..? > > > > It's an option which is new in version 7. > > In version 7 Vim, ":help cul", or, more properly, ":help 'cul'", shows > the help for the 'cursorline' option. There is also a 'cursorc

Re: fast file locating plugin (like ido.el in emacs)

2006-08-15 Thread Hari Krishna Dara
On Tue, 15 Aug 2006 at 8:35pm, Eddy Zhao wrote: > Hi Hari: > > Problem reported yesterday > > - "calling LookupNotifyFunc prematurely" problem seems solved > > - "path is very long" problem seems solved > > Problem found today (using the new plugin) > > - Without "set shellslash", open one fil

Re: Color change of :set cul or -V

2006-08-15 Thread A.J.Mechelynck
cga2000 wrote: On Fri, Aug 11, 2006 at 10:42:31AM EDT, striker wrote: I am using colorscheme vo_dark. When I :set cul or use visual highlighting, the color for the highlight is light gray and makes the highlighted text very difficult to see. The first few lines are: let g:colors_name="VO

Re: :while problem

2006-08-15 Thread Hari Krishna Dara
On Tue, 15 Aug 2006 at 4:43pm, Bill McCarthy wrote: > On Tue 15-Aug-06 9:27am -0600, Benji Fisher wrote: > > Thanks for looking at this problem. It looks like a Vim > parsing error. > > > I remember something about not allowing :endwhile on the > > same line as the :while , separated by | , but

Re: language display problem

2006-08-15 Thread A.J.Mechelynck
Alan G Isaac wrote: On Mon, 14 Aug 2006, "A.J.Mechelynck" apparently wrote: MingLiU for East-Asian ideograms. http://www.cantonese.sheik.co.uk/fonts.htm Unfortunately, the only way of legally obtaining it now appears to be by enabling Traditional Chinese support in Windows. Micr

Re: Folding and the Desert color scheme

2006-08-15 Thread Rodolfo Borges
cp /usr/share/vim/vim70/colors/desert.vim ~/.vim/colors/my-desert.vim vim ~/.vim/colors/my-desert.vim echo "colorscheme my-desert" >> ~/.vimrc That's what I did here. I just couldn't put the Cursor, CursorLine and CursorColor to work. On 8/15/06, Ben lemasurier <[EMAIL PROTECTED]> wrote: Hey e

Re: :while problem

2006-08-15 Thread Bill McCarthy
On Tue 15-Aug-06 9:27am -0600, Benji Fisher wrote: Thanks for looking at this problem. It looks like a Vim parsing error. > I remember something about not allowing :endwhile on the > same line as the :while , separated by | , but I cannot > find it in the docs today. I thought I had too but onl

Re: Color change of :set cul or -V

2006-08-15 Thread cga2000
On Fri, Aug 11, 2006 at 10:42:31AM EDT, striker wrote: > I am using colorscheme vo_dark. When I :set cul or use visual > highlighting, the color for the highlight is light gray and makes the > highlighted text very difficult to see. > > The first few lines are: > > let g:colors_name="VO Dark

Re: Emacs 22 'feature' - Can Vim do this?

2006-08-15 Thread Bill Pursell
Jürgen Krämer wrote: Mark Woodward wrote: came across this [Emacs] link the other day and wondered if Vim can do this? http://steve-yegge.blogspot.com/ [snip] 1. change these to number order starting at 1 (1, 2, 3, 4 etc) 2. change these to alpha list (a, b, c, etc) [This one has me stumped a

Re: --with-features=TYPE

2006-08-15 Thread A.J.Mechelynck
Robert Hicks wrote: A.J.Mechelynck wrote: Robert Hicks wrote: Georg Dahn wrote: Hi! --- Robert Hicks <[EMAIL PROTECTED]> wrote: I see in the configure file that --with-features takes "tiny, small, normal, big or huge (default: normal). Is there some place I can look to see what those optio

A problem of MAP in gvim 7 under cygwin

2006-08-15 Thread Manu Hack
I have a python file. When I type :!python % and enter I get what I expected to see and in the end I have the "Press ENTER or type command to continue" line so that I can see the result slowly. However, when I map :!python % and type F5, that line doesn't appear and the result closes itself qui

Folding and the Desert color scheme

2006-08-15 Thread Ben lemasurier
Hey everyone, I just setup folding and it works great however when using my favorite color scheme (desert) the fold header (+-- 70 lines: class ClassName ) is black, which makes it invisible on my terminal. Is there a way to fix this without using a different color scheme? th

Re: Creating a syntax file with folding

2006-08-15 Thread Charles E Campbell Jr
Marius Roets wrote: I am trying to create a syntax file with folding. However after pouring over the documentation for hours, I seem to be stuck. I want to, for instance, fold a begin/end block. I have created a simple syntax file with just this line: syntax region xBlock start="begin" end="end

Creating a syntax file with folding

2006-08-15 Thread Marius Roets
Hi everybody, I am trying to create a syntax file with folding. However after pouring over the documentation for hours, I seem to be stuck. I want to, for instance, fold a begin/end block. I have created a simple syntax file with just this line: syntax region xBlock start="begin" end="end" transp

Re: Source directory

2006-08-15 Thread Yakov Lerner
On 8/15/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: Hari Krishna Dara wrote: >On Mon, 14 Aug 2006 at 9:43am, Charles E Campbell Jr wrote: > > > >>4mir Salihefendic wrote: >> >> >> >>>Is there a neat way to source vim files in a directory? >>>Currently I use following solution that relie

Re: [OT] Who forwarded my message to eBay?

2006-08-15 Thread Robert Cussons
Charles E Campbell Jr wrote: Edward L. Fox wrote: Somebody in this mailing list had forwarded one of my post to eBay customer support center. I think this mail puzzled eBay so much, although they still promised that they will still try their best to help me with my problem. Here is the response

Re: --with-features=TYPE

2006-08-15 Thread Charles E Campbell Jr
Robert Hicks wrote: I see in the configure file that --with-features takes "tiny, small, normal, big or huge (default: normal). Is there some place I can look to see what those options provide? Perhaps my webpage: http://mysite.verizon.net/astronaut/vim/vimfeat.html will be of help. Regar

Re[2]: language display problem

2006-08-15 Thread Alan G Isaac
On Mon, 14 Aug 2006, "A.J.Mechelynck" apparently wrote: > MingLiU for East-Asian ideograms. http://www.cantonese.sheik.co.uk/fonts.htm Unfortunately, the only way of legally obtaining it now appears to be by enabling Traditional Chinese support in Windows. Microsoft used to offer

Re: :while problem

2006-08-15 Thread Benji Fisher
On Sun, Aug 13, 2006 at 01:04:23AM -0500, Bill McCarthy wrote: > Hello Vim List, > > " odd result > " > " This is part of some code going into a "command". If the > " left 3 columns are removed - making this code with 1 > " statement per line - the code works perfectly. [It sets > " 'wfw' for al

Re: Finding a sub string

2006-08-15 Thread Benji Fisher
On Sat, Aug 12, 2006 at 07:45:08PM +1000, Mark Woodward wrote: > On Sat, 12 Aug 2006 19:32:20 +1000 > an obvisouly dazed Mark Woodward wrote: > > > if stridx(s:line,"function") >= 0 > > s:funcname = matchstr(s:line,"function \zs\w\+") > > ^^^ > > s:funcname = matchs

Re: [OT] Who forwarded my message to eBay?

2006-08-15 Thread Charles E Campbell Jr
Edward L. Fox wrote: Somebody in this mailing list had forwarded one of my post to eBay customer support center. I think this mail puzzled eBay so much, although they still promised that they will still try their best to help me with my problem. Here is the response from eBay customer support:

Re: Source directory

2006-08-15 Thread Charles E Campbell Jr
Hari Krishna Dara wrote: On Mon, 14 Aug 2006 at 9:43am, Charles E Campbell Jr wrote: 4mir Salihefendic wrote: Is there a neat way to source vim files in a directory? Currently I use following solution that relies on "ls" - it's not feasible on other than Unix systems. First,

Re: matchit

2006-08-15 Thread Benji Fisher
On Wed, Aug 09, 2006 at 07:36:26PM +0200, [EMAIL PROTECTED] wrote: > At home my matchit works, but not at work. > > My debugging is so far: > :sourcing matchit by hand > :set verbose=15 > - placing cursor on an If of an If/End If block > - pressing % > -> calls of Function 4_Match_wrapper are show

Re: --with-features=TYPE

2006-08-15 Thread Robert Hicks
A.J.Mechelynck wrote: Robert Hicks wrote: Georg Dahn wrote: Hi! --- Robert Hicks <[EMAIL PROTECTED]> wrote: I see in the configure file that --with-features takes "tiny, small, normal, big or huge (default: normal). Is there some place I can look to see what those options provide? Try :h

Re: pasting the name of the file in the text of the file

2006-08-15 Thread Alan G Isaac
On Tue, 15 Aug 2006, olahjulcsi apparently wrote: > I have been trying to find a way to paste the name of the > file inside the text of the file. In insert mode: ctrl-r% hth, Alan Isaac

Re: fast file locating plugin (like ido.el in emacs)

2006-08-15 Thread Eddy Zhao
Hi Hari: Problem reported yesterday - "calling LookupNotifyFunc prematurely" problem seems solved - "path is very long" problem seems solved Problem found today (using the new plugin) - Without "set shellslash", open one file manually, open lookupfile window, the path's backward slash is no

Re: Pasting text inside a function (vimscript)

2006-08-15 Thread Preben Randhol
"A.J.Mechelynck" <[EMAIL PROTECTED]> wrote on 15/08/2006 (11:22) : > let save_paste = &paste > if ! &paste > set paste > endif > " > " do your stuff > " > if ! save_paste > set nopaste > endif Thanks. This works, but I got

Re: different format of features in :version

2006-08-15 Thread Robert Cussons
IMHO, that depends on for what reason you are looking at it, if you are looking whether a particular feature is included or not the present alphabetical ordering offers you the fastest (?) way of finding that information Nikolai Weibull wrote: On 8/15/06, Yakov Lerner <[EMAIL PROTECTED]>

Re: pasting the name of the file in the text of the file

2006-08-15 Thread Yakov Lerner
On 8/15/06, olahjulcsi <[EMAIL PROTECTED]> wrote: Dear All, I have been trying to find a way to paste the name of the file inside the text of the file. E.g. if the file is name apple.inp I would like to paste automatically 'apple.inp' inside the file. Is it possible to do it in vim? and if it i

pasting the name of the file in the text of the file

2006-08-15 Thread olahjulcsi
Dear All, I have been trying to find a way to paste the name of the file inside the text of the file. E.g. if the file is name apple.inp I would like to paste automatically 'apple.inp' inside the file. Is it possible to do it in vim? and if it is, how? It would be a very great help if someone co

Re: different format of features in :version

2006-08-15 Thread Nikolai Weibull
On 8/15/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: I want to suggest different format of features listing in output of :version. There's always the possibility of adding a :version! alternative. nikolai

different format of features in :version

2006-08-15 Thread Yakov Lerner
I want to suggest different format of features listing in output of :version. Namely, I suggest that all "included" features go first in one list, and after them, all "excluded" go in another list. I think this is more readable than existing format, in which both (+) and (-) features are mixed in

Re: Pasting text inside a function (vimscript)

2006-08-15 Thread A.J.Mechelynck
Preben Randhol wrote: "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote on 15/08/2006 (10:59) : Have you tried ":set paste"? Or rather, since it's inside a function, let save_paste = &paste set paste " " do your stuff " if ! save_paste se

Re: filename completion and filereadable

2006-08-15 Thread Yakov Lerner
On 8/15/06, Alexander 'boesi' Bösecke <[EMAIL PROTECTED]> wrote: Hi Am 09.08.2006 13:49:15 schrieb Alexander 'boesi' Bösecke: Well all the discussion about single and double quoted didn't solve my problem - the completion of a filename adds a \ before a space. Try the following: :let s = "g:\

Re: Pasting text inside a function (vimscript)

2006-08-15 Thread Preben Randhol
"A.J.Mechelynck" <[EMAIL PROTECTED]> wrote on 15/08/2006 (10:59) : > > Have you tried ":set paste"? Or rather, since it's inside a function, > > let save_paste = &paste > set paste > " > " do your stuff > " > if ! save_paste > set nopaste >

Re: Pasting text inside a function (vimscript)

2006-08-15 Thread A.J.Mechelynck
Preben Randhol wrote: Hi I'm trying to make a function that wraps some text around a block like this: bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla So it becomes: header text bla bla bla bla

Re: Does Vim have any scripts like Org-mode of Emacs?

2006-08-15 Thread Georg Dahn
Just like the way Org-mode working on plain text. You still have not explained, what Org-mode is. On the site there is no explanation which is clear enough for people not knowing Org-mode. So, what is this Org-mode? If you want information which helps you, then you really should make your pro

Pasting text inside a function (vimscript)

2006-08-15 Thread Preben Randhol
Hi I'm trying to make a function that wraps some text around a block like this: bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla So it becomes: header text bla bla bla bla bla bla bla

Re: [OT] Who forwarded my message to eBay?

2006-08-15 Thread A.J.Mechelynck
Edward L. Fox wrote: Hi Vimmers, Somebody in this mailing list had forwarded one of my post to eBay customer support center. I think this mail puzzled eBay so much, although they still promised that they will still try their best to help me with my problem. Here is the response from eBay custome

Re: Does Vim have any scripts like Org-mode of Emacs?

2006-08-15 Thread A.J.Mechelynck
Raymond wrote: Hello Torry, Most add-on scripts (and also some handy tips) for Vim are kept at the Vim-online site http://www.vim.org/ . Follow the "Search" link in the left margin if you want to search for something particular. If you get null search results, you might try searching for a sy

Re: filename completion and filereadable

2006-08-15 Thread Alexander 'boesi' Bösecke
Hi Am 09.08.2006 13:49:15 schrieb Alexander 'boesi' Bösecke: Well all the discussion about single and double quoted didn't solve my problem - the completion of a filename adds a \ before a space. Try the following: :let s = "g:\\CS\ Simple\\" :echo s g:\CS Simple As you can see the additional

Re: fast file locating plugin (like ido.el in emacs)

2006-08-15 Thread Hari Krishna Dara
On Mon, 14 Aug 2006 at 9:02pm, Eddy Zhao wrote: > Hi Hari: > > Problems reported yesterday > > - Put the "set shellslash" in vimrc solves most of the backward-slash problems. >May be it's worth mention in the plugin doc. I think a better option is to replace backslashes with forwardslashes