Re: compiling vim7.1 (huge version) gets build with normal version

2007-05-14 Thread panshizhu
[EMAIL PROTECTED] 写于 2007-05-15 14:51:43: > Thanks Pan. Now it does say "Huge Version". But I'm seeing couple of > problems ... > > 1. It still doesn't show the menu's and toolbars. > 2. It tries to use my $HOME/.gvimrc (which works fine with the ubuntu > installed vim7.0) and complains that it can

Re: vim 7.1 and cr/lf interpretation

2007-05-14 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula <[EMAIL PROTECTED]>: Thomas Michael Engelke schrieb: > :set fileformats? > > gives > > "fileformats=dos,unix", so both formats are available, yet the > detection and switching does not seem to work. Are you sure _every_ line ends in "^M"? P

Re: compiling vim7.1 (huge version) gets build with normal version

2007-05-14 Thread panshizhu
[EMAIL PROTECTED] 写于 2007-05-15 13:30:28: > I recently did a clean install of Ubuntu 7.04 and also installed all > vim related packages. That got me a gui version of vim (7.0.164/Big > compiled on 2007/03/11). > > I now want to compile and install the gui version of vim 7.1. So, I > downloaded the

Re: vim 7.1 and cr/lf interpretation

2007-05-14 Thread Thomas Michael Engelke
2007/5/14, Andy Wokula <[EMAIL PROTECTED]>: Thomas Michael Engelke schrieb: > :set fileformats? > > gives > > "fileformats=dos,unix", so both formats are available, yet the > detection and switching does not seem to work. Are you sure _every_ line ends in "^M"? Positive. Every single line show

compiling vim7.1 (huge version) gets build with normal version

2007-05-14 Thread Tushar Desai
I recently did a clean install of Ubuntu 7.04 and also installed all vim related packages. That got me a gui version of vim (7.0.164/Big compiled on 2007/03/11). I now want to compile and install the gui version of vim 7.1. So, I downloaded the tar-ball for the 7.1 sources to my home dir ($HOME/v

Re: book

2007-05-14 Thread Dave Land
On May 14, 2007, at 8:43 PM, fREW wrote: On Mon, 14 May 2007 16:07:03 -0700 linda.s <[EMAIL PROTECTED]> wrote: > Hi, > I am a beginner in VIM. Wonder whether there is any good book for VIM? > Also, what is the difference between vim and latex? > Thanks, > Linda I'm a beginner too, and I enjo

Re: book

2007-05-14 Thread fREW
On Mon, 14 May 2007 16:07:03 -0700 linda.s <[EMAIL PROTECTED]> wrote: > Hi, > I am a beginner in VIM. Wonder whether there is any good book for VIM? > Also, what is the difference between vim and latex? > Thanks, > Linda I'm a beginner too, and I enjoy this best editor in the world very much. As

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Yongwei Wu
On 14/05/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Yongwei Wu wrote: > On 13/05/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > Announcing: Vim (Vi IMproved) version 7.1 > > I guess you already know about them. Just in case: > > * The home page still says "Vim 7.0.243 is the current

Re: book

2007-05-14 Thread jaywee
On Mon, 14 May 2007 16:07:03 -0700 linda.s <[EMAIL PROTECTED]> wrote: > Hi, > I am a beginner in VIM. Wonder whether there is any good book for VIM? > Also, what is the difference between vim and latex? > Thanks, > Linda I'm a beginner too, and I enjoy this best editor in the world very much. As f

Re: book

2007-05-14 Thread Kev
Micah Cowan wrote: linda.s wrote: Hi, I am a beginner in VIM. Wonder whether there is any good book for VIM? Also, what is the difference between vim and latex? Linda, I've personally found the vim tutorial to be a quite-adequate means to learning vim. Just type "vimtutor" in your term

Re: Vim Wiki - Wiki Template Proposal

2007-05-14 Thread fREW
On 5/14/07, Tom Purl <[EMAIL PROTECTED]> wrote: Sebastian Menge has graciously created a Mediawiki template that could be used with the proposed Vim wiki. Here's a link to the template: * http://scratchpad.wikia.com/wiki/Template:Tip This is the "wrapper" for the actual tip content. Here's an

Re: mouse-wheel scrolling with vertically split windows

2007-05-14 Thread A.J.Mechelynck
Waters, Bill wrote: (I am using gVim 7.1 in Windows XP.) If I do a :vsplit, I end up with a scroll bar on the right for the right window and a scroll bar on the left for the left window. When I use my mouse wheel to scroll, the left window scrolls, regardless of which window is selected. If I

Re: taglist plugin launch ctags fail in gvim windows.

2007-05-14 Thread panshizhu
"Yegappan Lakshmanan" <[EMAIL PROTECTED]> 写于 2007-05-14 22:52:58: > Hi, > > On 5/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > "A.J.Mechelynck" <[EMAIL PROTECTED]> 写于 2007-05-14 > > 13:21:47: > > > >> If your shell is cmd.exe, "/usr/bin/ctags" will give "Unknown command > > or > > > >

Re: Always 1 instance-only mode for gvim?

2007-05-14 Thread Steve Hall
On Mon, 2007-05-14 at 14:06 +0800, [EMAIL PROTECTED] wrote: > > For some reason I'd like to have only one instances of gvim in my > machine at most. launch gvim anyway when gvim has existing instance > will switch to the existing one. (evenif no files are specified) > > But the --remote-silent do n

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Robert Hicks
cvs vs svn Is the source moving to svn? It seems the svn portion lags a bit (timewise)behind the cvs version. Robert

Re: book

2007-05-14 Thread Micah Cowan
linda.s wrote: > Hi, > I am a beginner in VIM. Wonder whether there is any good book for VIM? > Also, what is the difference between vim and latex? Linda, I've personally found the vim tutorial to be a quite-adequate means to learning vim. Just type "vimtutor" in your terminal, and you're good to

Re: mouse-wheel scrolling with vertically split windows

2007-05-14 Thread David . Fishburn
Yes, with gvim 7.1 on WinXP SP2 I get the same behaviour. gvim -u NONE -U NONE some_file :vsp C-W C-W Use the wheel to scroll. Only the left window will scroll. Whoa, I was just trying this again when I discovered if you hold down the CTRL key you get different behaviour. CTRL-wheel scroll wil

Re: mouse-wheel scrolling with vertically split windows

2007-05-14 Thread David . Fishburn
What happens if you start vim using: Gvim -u NONE -U NONE And try again? If it doesn't happen sounds like possibly a plugin issue (or compability mode). But from a code perspective I don't think a plugin could affect Vim in this way. Dave - Original Message - From: "Waters, Bill" [EMA

book

2007-05-14 Thread linda . s
Hi, I am a beginner in VIM. Wonder whether there is any good book for VIM? Also, what is the difference between vim and latex? Thanks, Linda

RE: mouse-wheel scrolling with vertically split windows

2007-05-14 Thread Waters, Bill
> What happens if you start vim using: > Gvim -u NONE -U NONE Same results. I start gvim, do a :vsplit, and the mouse wheel will only scroll the left window, even when the right window is selected. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 1

Re: Vim and email quoting

2007-05-14 Thread fREW
On 5/12/07, Troy Piggins <[EMAIL PROTECTED]> wrote: * Timothy Knox is quoted & my replies are inline below : > I use vim to write my outgoing email, and for the most part, it > rocks. Thanks to all the folks who have written modules and > provided tips that make it the best thing for writing emai

Re: How to make a replacer function

2007-05-14 Thread fREW
On 5/14/07, Ian Tegebo <[EMAIL PROTECTED]> wrote: On 5/14/07, fREW <[EMAIL PROTECTED]> wrote: > How does one make a function that will surround a visual selection? > > Example: > > Hello, my name is fREW. > > Select my name and say, :Bang() > > and the text should now be > > Hello, my name is fRE

Re: what "feature" is required to return to last editing position?

2007-05-14 Thread fREW
On 5/10/07, Micah Cowan <[EMAIL PROTECTED]> wrote: Bram Moolenaar wrote: > Micah Cowan wrote: >> Vincent BEFFARA wrote: >>> However, it would be nice of vim to always test that it owns the $HOME >>> directory before creating files there. Would it break anything ? >> I think this would be a good i

Re: How to make a replacer function

2007-05-14 Thread Ian Tegebo
On 5/14/07, fREW <[EMAIL PROTECTED]> wrote: How does one make a function that will surround a visual selection? Example: Hello, my name is fREW. Select my name and say, :Bang() and the text should now be Hello, my name is fREW. I presume it will have something to do with using '< and '>, bu

Re: Project specific settings

2007-05-14 Thread Gary Johnson
On 2007-05-14, "Larson, David" <[EMAIL PROTECTED]> wrote: > > From: Gary Johnson [mailto:[EMAIL PROTECTED] > > Sent: Monday, May 14, 2007 12:41 PM > > > > On 2007-05-14, [EMAIL PROTECTED] wrote: > > > Another solution is to use plugins like local_vimrc.vim (there > > > are two similiar plugins

How to make a replacer function

2007-05-14 Thread fREW
How does one make a function that will surround a visual selection? Example: Hello, my name is fREW. Select my name and say, :Bang() and the text should now be Hello, my name is fREW. I presume it will have something to do with using '< and '>, but beyond that I am not really sure. Thanks!

Re: $HOME inconsistent in Windows?

2007-05-14 Thread fREW
If you haven't already gotten an answer you may want to try logging out and back in. I recall having some issues with the Environment variables in windows. On 5/9/07, Chris Sutcliffe <[EMAIL PROTECTED]> wrote: Hey All, I've defined a HOME environment variable as %HOMEDRIVE%%HOMEPATH%. In a co

RE: Project specific settings

2007-05-14 Thread Larson, David
Gary, Make sure that when you search for scripts on vim.sf.net, that you select "utility" for the type. Doing that produces 66 results, and project.tar.gz is the first result... http://vim.sourceforge.net/scripts/script.php?script_id=69 HTH, David -Original Message- From: Gary Johnson [

Re: Vim Wiki - Wiki Template Proposal

2007-05-14 Thread Martin Krischik
Am Montag 14 Mai 2007 schrieb Tom Purl: > So far, we know about the opinions of me and Sebastian.  What does > everyone else think?  Is the template thing a good idea for our wiki? Templates tend to be a good idea for small amount of text - and most tips don't have have that much text. Now refr

RE: mouse-wheel scrolling with vertically split windows

2007-05-14 Thread Waters, Bill
It happens every time for me. I just have to open a file and then do a :vsplit. It really shows up and is annoying with using the taglist plugin. Do you know of a command for the Edit->Global Settings->Toggle Right Scroll Bar option? -Original Message- From: David Fishburn [mailto:[EMA

Re: Project specific settings

2007-05-14 Thread Gary Johnson
On 2007-05-14, [EMAIL PROTECTED] wrote: > Hello, > > Marius Roets <[EMAIL PROTECTED]> wrote: > > > I know this has been covered before, but I can't seem to find it by > > searching Vim tips, so please excuse me if this has been ask many times > > before. > > It is covered three times in vim scri

Re: comments after brackets with vim?

2007-05-14 Thread Andy Wokula
Simon Butler schrieb: hi, when i write this skill (cadence extension language) fragment in emacs i get the following: procedure( vscCheckpointHier( @key lib cell view message inclibs ) let(( ddCVs ) vscPrint0(sprintf( nil "Hierarchy for %s,%s,%s ..." lib cell view )) wh

mouse-wheel scrolling with vertically split windows

2007-05-14 Thread Waters, Bill
(I am using gVim 7.1 in Windows XP.) If I do a :vsplit, I end up with a scroll bar on the right for the right window and a scroll bar on the left for the left window. When I use my mouse wheel to scroll, the left window scrolls, regardless of which window is selected. If I do a Edit->Global Sett

Re: Multiple commands from Fkey

2007-05-14 Thread Gary Johnson
On 2007-05-14, "John R. Culleton" <[EMAIL PROTECTED]> wrote: > Gary wrote in part: > > nmap :call DoSub() > > function DoSub() > %s/^"/``/e > %s/ "/ ``/ge > %s/"$/''/e > %s/" /'' /ge > endfunction > > For my other F keys I have used noremap instead of

Vim Wiki - Wiki Template Proposal

2007-05-14 Thread Tom Purl
Sebastian Menge has graciously created a Mediawiki template that could be used with the proposed Vim wiki. Here's a link to the template: * http://scratchpad.wikia.com/wiki/Template:Tip This is the "wrapper" for the actual tip content. Here's an example of some plain-text content: {{Tip

Re: Wiki: structure, template and logo

2007-05-14 Thread Tom Purl
On Mon, May 14, 2007 2:51 am, Sebastian Menge wrote: > Hi > > The discussion about http://vim.wikia.com seems to die. I doubt we can > hold the schedule if we don't do something. I agree! > Using the scripts you posted it is very easy to publish all the tips > in the template-format. So it's a ma

Re: VimWiki - again - but with a brand new option

2007-05-14 Thread Tom Purl
Sorry it took me so long to respond to this Sebastian. On Thu, May 10, 2007 11:57 am, Sebastian Menge wrote: > Am Donnerstag, den 10.05.2007, 10:44 -0500 schrieb Tom Purl: > > ... > > The proposal was not about the layout directly but about separating > formatting from content! So feel free to cha

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Bram Moolenaar
Davic Necas wrote: > On Mon, May 14, 2007 at 02:24:09PM +0200, Bram Moolenaar wrote: > > > > This is not a bug, an empty src/auto/config.h is included, because > > otherwise "make depend" doesn't work. > > I would rather say this means an additional problem in the > Makefiles. If a rule requir

RE: Project specific settings

2007-05-14 Thread Gene Kwiecinski
>I always uses spaces to indent my code, but a current project requires >me to use tabs. How could I make this setting only be in effect for this >one project, assuming that the project will always be a in a specific >directory. How many files to edit in that particular directory/project? If you

getscript plugin problem

2007-05-14 Thread Luis A. Florit
Pals, I think I have no luck with the getscript plugin... I have had several problems with it. Here is the last one: I had the following .dat file: ScriptID SourceID Filename -- 39 6332 :AutoInstall: matchit.vim 40 5550 :AutoInstall: DrawIt.vim 42 6897 :AutoInstal

Re: map gives me headache!

2007-05-14 Thread Yegappan Lakshmanan
Hi, On 5/14/07, Alberto Miorin <[EMAIL PROTECTED]> wrote: I hate the , because when i hit it for mistake, it moves the cursor. So I disable it with: nmap nmap I was happy, when I discovered that cmd-window needed the mapped. So I fixed it with: au CmdwinEnter * nunma

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Bram Moolenaar
Yongwei Wu wrote: > On 13/05/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > Announcing: Vim (Vi IMproved) version 7.1 > > I guess you already know about them. Just in case: > > * The home page still says "Vim 7.0.243 is the current version" That should be fixed automatically when the f

map gives me headache!

2007-05-14 Thread Alberto Miorin
I hate the , because when i hit it for mistake, it moves the cursor. So I disable it with: nmap nmap I was happy, when I discovered that cmd-window needed the mapped. So I fixed it with: au CmdwinEnter * nunmap au CmdwinLeave * nmap Now I discovered that also

Re: taglist plugin launch ctags fail in gvim windows.

2007-05-14 Thread Yegappan Lakshmanan
Hi, On 5/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > "A.J.Mechelynck" <[EMAIL PROTECTED]> 写于 2007-05-14 13:21:47: > >> If your shell is cmd.exe, "/usr/bin/ctags" will give "Unknown command or > > file > >> name". If you want to mix Dos shells and cygwin utilities, you will have > > t

Re: vim 7.1 and cr/lf interpretation

2007-05-14 Thread Andy Wokula
Thomas Michael Engelke schrieb: :set fileformats? gives "fileformats=dos,unix", so both formats are available, yet the detection and switching does not seem to work. Are you sure _every_ line ends in "^M"? -- Regards, Andy EOM

Re: Multiple commands from Fkey

2007-05-14 Thread John R. Culleton
Gary wrote in part: nmap :call DoSub() function DoSub() %s/^"/``/e %s/ "/ ``/ge %s/"$/''/e %s/" /'' /ge endfunction For my other F keys I have used noremap instead of nmap, thus: inoremap :!pdftex book.tex nnoremap :!pdftex book.tex inoremap :!texex

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Yeti
On Mon, May 14, 2007 at 02:24:09PM +0200, Bram Moolenaar wrote: > > This is not a bug, an empty src/auto/config.h is included, because > otherwise "make depend" doesn't work. I would rather say this means an additional problem in the Makefiles. If a rule requires src/auto/config.h, it should cre

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Bram Moolenaar
Edward L. Fox wrote: > On 5/14/07, David Neèas (Yeti) <[EMAIL PROTECTED]> wrote: > > On Sun, May 13, 2007 at 09:28:11PM +0100, [EMAIL PROTECTED] wrote: > > > > Umm, I suspect there's still an issue for us pesky OSX users with our > > > > case-insensitive filesystems: > > > > > > > > [long list of

Appending to Paste (*) Register

2007-05-14 Thread zzapper
Hi I believe that the problem of Appending to Paste (*) Register was one of the points Bram was looking at (problem is no uppercase for a symbol) Was there/will there be any progress? Here's a hack I use let @w=":redir @*^M:g//^M:redir END" -- zzapper http://www.rayninfo.co.uk/vimtips.html

Re: vim 7.1 and cr/lf interpretation

2007-05-14 Thread Thomas Michael Engelke
:set fileformats? gives "fileformats=dos,unix", so both formats are available, yet the detection and switching does not seem to work. 2007/5/14, Yongwei Wu <[EMAIL PROTECTED]>: Hi Thomas, On 14/05/07, Thomas Michael Engelke <[EMAIL PROTECTED]> wrote: > Hello! > > I just opened one of the file

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread Yongwei Wu
Hi Bram, On 13/05/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Announcing: Vim (Vi IMproved) version 7.1 I guess you already know about them. Just in case: * The home page still says "Vim 7.0.243 is the current version" * Sources and Patches pages are not updated. Best regards, Yongwei

Re: Project specific settings

2007-05-14 Thread hermitte
Hello, Marius Roets <[EMAIL PROTECTED]> wrote: > I know this has been covered before, but I can't seem to find it by > searching Vim tips, so please excuse me if this has been ask many times > before. It is covered three times in vim scripts. > I always uses spaces to indent my code, but a curr

Re: vim 7.1 and cr/lf interpretation

2007-05-14 Thread Yongwei Wu
Hi Thomas, On 14/05/07, Thomas Michael Engelke <[EMAIL PROTECTED]> wrote: Hello! I just opened one of the files we develop, written by another programmer. I can see a "^M" at the end of every line. I quickly check the mailing list archive and find out, that this mainly depends on the setting o

Re: Stable Vim version 7.1 has been released

2007-05-14 Thread John Beckett
Bram Moolenaar wrote: Announcing: Vim (Vi IMproved) version 7.1 Excellent - thanks. Is someone going to post to a security list like full disclosure that Vim 7.1 is available, and it overcomes a serious security problem? The issue has received a brief mention in relation to patches for Vim 7

vim 7.1 and cr/lf interpretation

2007-05-14 Thread Thomas Michael Engelke
Hello! I just opened one of the files we develop, written by another programmer. I can see a "^M" at the end of every line. I quickly check the mailing list archive and find out, that this mainly depends on the setting of "fileformat". I check "fileformat" and find out that it's "unix". Ah, the

Re: Project specific settings

2007-05-14 Thread panshizhu
"Marius Roets" <[EMAIL PROTECTED]> 写于 2007-05-14 16:05:14: > Hi All, > I know this has been covered before, but I can't seem to find it by > searching Vim tips, so please excuse me if this has been ask many times > before. > > I always uses spaces to indent my code, but a current project requires >

Wiki: structure, template and logo

2007-05-14 Thread Sebastian Menge
Hi The discussion about http://vim.wikia.com seems to die. I doubt we can hold the schedule if we don't do something. Using the scripts you posted it is very easy to publish all the tips in the template-format. So it's a matter of an hour to publish all the tips to the wikia. If there are at lea

Re: Project specific settings

2007-05-14 Thread Sebastian Menge
Am Montag, den 14.05.2007, 10:05 +0200 schrieb Marius Roets: > I always uses spaces to indent my code, but a current project requires > me to use tabs. How could I make this setting only be in effect for this > one project, assuming that the project will always be a in a specific > directory. :hel

Project specific settings

2007-05-14 Thread Marius Roets
Hi All, I know this has been covered before, but I can't seem to find it by searching Vim tips, so please excuse me if this has been ask many times before. I always uses spaces to indent my code, but a current project requires me to use tabs. How could I make this setting only be in effect for th