Re: How to ask for input and use it

2009-05-06 Thread redspider red
2009/5/7 Raúl Núñez de Arenas Coronado : > > Saluton redspider :) > > On Thu 7 May 2009 03:23 +0200, redspider red dixit: > Don't worry, as soon as I saw you've posted to the list before and > noticed the contents of the attached PDF I knew it was not spam but a > mistake and I've not banned your

Re: Difference between :wincmd and Ctrl-W

2009-05-06 Thread Tony Mechelynck
On 06/05/09 11:16, Andy Wokula wrote: > > Entering the bottom window is just > > :wincmd b > Yeah, sure, but what about the 2nd or 3rd from the bottom? I added a "proposed new tip" (yesterday IIRC) on the wiki about using :exe winnr('$') - 1 'wincmd w' to go to the second-last win

Re: How to ask for input and use it

2009-05-06 Thread Raúl Núñez de Arenas Coronado
Saluton redspider :) On Thu 7 May 2009 03:23 +0200, redspider red dixit: > this not a spam. yes, I replied to the wrong mail, sorry. > thanks, Jürgen Don't worry, as soon as I saw you've posted to the list before and noticed the contents of the attached PDF I knew it was not spam but a mistake

Re: Switching between files with the same tag info

2009-05-06 Thread Gary Johnson
On 2009-05-06, Mahurshi Akilla wrote: > How do I switch between files when I have more than one file with the > same tag info? > > e.g. > filetag /mypath/folder1/file.txt > filetag /mypath/folder2/file.txt > > When I open vim with > vim -t filetag > > It says "tag 1 of 2 or more" and goes to

Switching between files with the same tag info

2009-05-06 Thread Mahurshi Akilla
How do I switch between files when I have more than one file with the same tag info? e.g. filetag /mypath/folder1/file.txt filetag /mypath/folder2/file.txt When I open vim with vim -t filetag It says "tag 1 of 2 or more" and goes to the first one. How do I tell it to go to the next file? --~

Question about fold-expr's level determination.

2009-05-06 Thread Wu, Yue
I want to make a simple wiki filetype for myself(I know there has been vimwiki there). But I encounter the problem of foldlevel. For example, the following text: == Header == Some text. * Item 1 Some text 1. * Item 2 Some text 2 I want to do folding like this: == Header == ---

Re: How to ask for input and use it

2009-05-06 Thread redspider red
this not a spam. yes, I replied to the wrong mail, sorry. thanks, Jürgen 2009/5/6 Jürgen Krämer : > > > Hi, > > Raúl Núñez de Arenas Coronado wrote: >> >> On Wed 6 May 2009 16:19 +0200, bill lam dixit: >>> On Wed, 06 May 2009, redspider red wrote: >> [Chinese text] >>> (I tried to translate what

Re: How to ask for input and use it

2009-05-06 Thread pansz
Jürgen Krämer 写道: >> OK, so it's definitely spam. I don't know how it got through... > > I don't think so. I guess "redspider red" just replied to the wrong > mail or chose the wrong address from his address book. > Sure, anyone opens the attachment will see the pure-English text there, and it

Re: Refresh/reload an opened file

2009-05-06 Thread Tim Chase
> is there any way to reload or refresh a file I'm currently working on? Just use :e to reload the file. I believe, if you've made changes to the file, it requires you to do :e! to force-discard your local changes and reload from the disk. If I'm not sure, I'll often yank my current

Re: Refresh/reload an opened file

2009-05-06 Thread Gary Johnson
On 2009-05-07, Mr.SpOOn wrote: > Hi, > is there any way to reload or refresh a file I'm currently working on? > > When I work on files on a server, it happens that I keep different of > them opened in tabs. While I work on a file, a friend of mine is > working on another (that I have opened there

Refresh/reload an opened file

2009-05-06 Thread Mr.SpOOn
Hi, is there any way to reload or refresh a file I'm currently working on? When I work on files on a server, it happens that I keep different of them opened in tabs. While I work on a file, a friend of mine is working on another (that I have opened there) and if he makes some changes, to see them

Compiling vim on OSX Leopard

2009-05-06 Thread R. Hicks
I just tried with the following configure (after getting the latest from svn): ./configure --enable-cscope --enable-multibyte --with-features=huge I get a whole bunch of gui_mac warnings and errors and at the end it reports: make[1]: *** [objects/gui_mac.o] Error 1 make: *** [install] Error 2

Re: Problem about au!

2009-05-06 Thread Gary Johnson
On 2009-05-06, Miao Jiang wrote: > I write my own indent file indent/sphinx.vim for sphinx.conf > and add > au! BufRead,BufNewFile sphinx.* setfiletype sphinx > to the .vimrc > > but when I try edit sphinx.conf. the filetype still show conf instead > of sphinx. > How can I solve the problem? > >

Re: How to ask for input and use it

2009-05-06 Thread Marvin Renich
* Raúl Núñez de Arenas Coronado [090506 10:51]: > Looks like redspider is not an spammer, so this message may be a mistake > on his/her part or a spammer faking the From. Since some text from a > message from Tony is present, I know think that the problem may be a > mistake, a private message goi

Problem about au!

2009-05-06 Thread Miao Jiang
I write my own indent file indent/sphinx.vim for sphinx.conf and add au! BufRead,BufNewFile sphinx.* setfiletype sphinx to the .vimrc but when I try edit sphinx.conf. the filetype still show conf instead of sphinx. How can I solve the problem? My vim version: 7.1.314 (Debian 5 vim-full) Thanks

Re: [SOLVED] Re: Upgraded Ubuntu and perl-support.vim no longer works.

2009-05-06 Thread Erik Falor
On Wed, May 06, 2009 at 01:35:48PM +0200, Ra??l Nez de Arenas Coronado wrote: > > Saluton Tony :) > > On Wed 6 May 2009 12:53 +0200, Tony Mechelynck dixit: > > On 05/05/09 15:30, Bill Moseley wrote: > >> Pretty simple solution (as is often the case): > >> > >> ftplugin are disabled in this

Re: Vim and vi

2009-05-06 Thread Charlie Kester
On Tue 05 May 2009 at 20:00:52 PDT Ben Fritz wrote: > >Woah! No wonder the Vim Tips seem overwhelming... > >Don't look at them all at once, browse for areas that interest you: >http://vim.wikia.com/wiki/Category:Browse > >After you've got that out of the way, pressing "Random page" two or >three t

Re: How to ask for input and use it

2009-05-06 Thread Jürgen Krämer
Hi, Raúl Núñez de Arenas Coronado wrote: > > On Wed 6 May 2009 16:19 +0200, bill lam dixit: >> On Wed, 06 May 2009, redspider red wrote: > [Chinese text] >> (I tried to translate what he/she wrote) >> >> It was a little busy in office today. (I) only wrote 2 pages. see >> attachment. You have

Re: How to ask for input and use it

2009-05-06 Thread Raúl Núñez de Arenas Coronado
Hello everybody :) > On Wed 6 May 2009 16:19 +0200, bill lam dixit: >> On Wed, 06 May 2009, redspider red wrote: > [Chinese text] >> (I tried to translate what he/she wrote) >> >> It was a little busy in office today. (I) only wrote 2 pages. see >> attachment.  You have a look at it to see if th

Re: How to ask for input and use it

2009-05-06 Thread Raúl Núñez de Arenas Coronado
Saluton bill :) On Wed 6 May 2009 16:19 +0200, bill lam dixit: > On Wed, 06 May 2009, redspider red wrote: [Chinese text] > (I tried to translate what he/she wrote) > > It was a little busy in office today. (I) only wrote 2 pages. see > attachment.  You have a look at it to see if there are any

Re: How to ask for input and use it

2009-05-06 Thread bill lam
On Wed, 06 May 2009, redspider red wrote: > 今天上班有点忙,只写了2页,见附件,您看看有没有什么问题。 > 几个不确定的地方我在附件的 PDF 中做了标记。 (I tried to translate what he/she wrote) It was a little busy in office today. (I) only wrote 2 pages. see attachment. You have a look at it to see if there are any problems. There are some uncer

Re: How to ask for input and use it

2009-05-06 Thread Raúl Núñez de Arenas Coronado
Saluton Marvin :) On Wed 6 May 2009 15:38 +0200, Marvin Renich dixit: > * redspider red [090506 06:00]: [Chinese text] > Please be polite and do not send 2.6M attachments to the mailing list. > Use a pastebin or send the attachment in private mail to the interested > person. > > Also, this mail

Re: How to ask for input and use it

2009-05-06 Thread Marvin Renich
* redspider red [090506 06:00]: > 今天上班有点忙,只写了2页,见附件,您看看有没有什么问题。 > 几个不确定的地方我在附件的 PDF 中做了标记。 Please be polite and do not send 2.6M attachments to the mailing list. Use a pastebin or send the attachment in private mail to the interested person. Also, this mailing list uses the English language (th

Re: [SOLVED] Re: Upgraded Ubuntu and perl-support.vim no longer works.

2009-05-06 Thread Raúl Núñez de Arenas Coronado
Saluton Tony :) On Wed 6 May 2009 12:53 +0200, Tony Mechelynck dixit: > On 05/05/09 15:30, Bill Moseley wrote: >> Pretty simple solution (as is often the case): >> >> ftplugin are disabled in this version of Vim packaged in >> Debian/Ubuntu, it seems. > > Meddlesome distributors and system vimrc

Re: [SOLVED] Re: Upgraded Ubuntu and perl-support.vim no longer works.

2009-05-06 Thread Tony Mechelynck
On 05/05/09 15:30, Bill Moseley wrote: > > Pretty simple solution (as is often the case): > > ftplugin are disabled in this version of Vim packaged in > Debian/Ubuntu, it seems. > > > /usr/share/doc/vim-runtime/NEWS.Debian.gz > > >Filetype plugins are no longer enabled by default because certa

Re: how to change gvim menus font size

2009-05-06 Thread Tony Mechelynck
On 03/05/09 09:31, Mehdi Bostandoost wrote: > Hi > I am working with gvim through the X. (Gvim is on the server and I am > connecting to it with ssh -Y). gvim menu font sizes are small for me and > the menu fonts look ugly. > I want to change the menu font and its size. I could not find it how to

Re: Difference between :wincmd and Ctrl-W

2009-05-06 Thread Andy Wokula
Entering the bottom window is just :wincmd b -- Andy --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: How to ask for input and use it

2009-05-06 Thread Tony Mechelynck
On 03/05/09 02:12, Matteo Riva wrote: > > Actually nevermind, I just read (and thought) better, and came up with > this: > > nmap \h :call MyInput():normal a"npa > > function! MyInput() > call inputsave() > let @h = input("Enter URL: ") > let @

Re: gvim require carriage return with map whereas vim does not

2009-05-06 Thread Tony Mechelynck
On 03/05/09 05:43, Mahurshi Akilla wrote: [top-posting corrected] > On May 2, 6:20 pm, Tony Mechelynck > wrote: >> On 03/05/09 01:17, Mahurshi Akilla wrote: >> >> >> >>> The below map works fine in vim, but requires a carriage return in >>> gvim to call the function. Is there a way to get gvim to