Is Vim moving to svn? I was curious as to why in the downloads section
there is both a cvs version and a svn version.
Robert
Swaroop C H wrote:
Is there a way to use wget or curl to get scripts off the Vim site?
Use `wget http://www.vim.org/scripts/download_script.php?src_id=$id -O
foo` ?
Best,
Swaroop
Must have been a corrupt file. I removed everything and reinstalled the
scripts and all is well.
Robert
Smoldas Vladimir wrote:
Hi,
I have a problem to execute: browse confirm saveas (or save as from menu list)
on new file (without name).
Steps to simulate the problem:
1.Open gvim
2. Save as (browse confirm saveas) - gvim not responding for 5 minutes (than I
killed him)
But when I open
Is there a way to use wget or curl to get scripts off the Vim site?
Robert
Swaroop C H wrote:
Is there a way to use wget or curl to get scripts off the Vim site?
Use `wget http://www.vim.org/scripts/download_script.php?src_id=$id -O
foo` ?
Thanks!
Robert
This could be just something I am doing wrong.
I am creating my .vimrc file and once I put:
set laststatus=2
in and save and then open Vim I get the following error:
sccs: command not found
tr: at least one string must be given when squeezing repeats
Any ideas?
This is what I compiled
Robert Hicks wrote:
This could be just something I am doing wrong.
I am creating my .vimrc file and once I put:
set laststatus=2
in and save and then open Vim I get the following error:
sccs: command not found
tr: at least one string must be given when squeezing repeats
Any ideas
Yakov Lerner wrote:
On 5/21/07, Robert Hicks [EMAIL PROTECTED] wrote:
Robert Hicks wrote:
This could be just something I am doing wrong.
I am creating my .vimrc file and once I put:
set laststatus=2
in and save and then open Vim I get the following error:
sccs: command not found
tr
cvs vs svn
Is the source moving to svn? It seems the svn portion lags a bit
(timewise)behind the cvs version.
Robert
Michael Wookey wrote:
Hello vimmers,
I am running 7.1a.001 on OSX and have just noticed the following from
console vim (running in Terminal.app and also occurs in iTerm.app).
If I change the colour scheme I receive a lot of error output. For
example:
:colorscheme desert
Results in:
Pablo Arantes wrote:
Fellow users,
I'm using gvim 7.0 in a Windows XP SP2 box and I'm experiencing a
problem with font selection. I want to set as the default gui font a TTF
monospaced font, called Pragmata TT, but it won't show up in the list
of available fonts. I've searched the vim archives
Joseph White wrote:
Hi All,
When you download c.vim : C/C++-IDE, BASH-IDE, or Perl-IDE, for
example, the directions to install and get the menu items to show up,
goes as follows:
install details
Copy the zip archive cvim.zip to $HOME/.vim/ and run
unzip cvim.zip
While this works fine
What are some good help files to read if I want to learn:
- To use Vim itself
- To create vimscripts/vim modules
Robert
When I do set number I get the numbering in the left column (good). Is
there a way I can change the look of the number? I would like the
numbers to look like:
1:
2:
3:
Is there a size limit that one should set as a ceiling for syntax file size?
Robert
Larry Alkoff wrote:
I have a desktop and newly configured laptop with different versions of
vim.
The desktop has vim 6.4.6 which contains the lines in ~/.vimrc
set mouse=a
syntax on
They show in :help
The laptop has vim 7.0.35 and gives an error on the above two vimrc
commands. Also they
Bill McCarthy wrote:
On Wed 24-Jan-07 1:41am -0600, Robert Cussons wrote:
I'm sorry, I know this should be a problem that I can
resolve for myself, but I have searched the vim help under
bells and visualbell and tried what it says and it
doesn't seem to work, so your help would be greatly
A.J.Mechelynck wrote:
Robert Hicks wrote:
[...]
I only use a .vimrc and for the things that are gui specific I wrap in:
if has(gui_running)
stuff for gvim
endif
Is there any reason NOT to do that if I only want to maintain one
config file?
Robert
I do that too. For the settings
Cannot allocate color colorname
I compiled from svn src. There didn't seem to be any errors and it
created the Vim.app. The Vim.app works but when I go to change the
colorscheme I get about 20 of those messages.
Is there something I need to pass to configure on OSX about colors?
Robert
A.J.Mechelynck wrote:
Robert Hicks wrote:
Cannot allocate color colorname
I compiled from svn src. There didn't seem to be any errors and it
created the Vim.app. The Vim.app works but when I go to change the
colorscheme I get about 20 of those messages.
Is there something I need to pass
A.J.Mechelynck wrote:
Robert Hicks wrote:
Cannot allocate color colorname
I compiled from svn src. There didn't seem to be any errors and it
created the Vim.app. The Vim.app works but when I go to change the
colorscheme I get about 20 of those messages.
Is there something I need to pass
Robert Hicks wrote:
I have compiled the version from svn. It creates the .app bundle. When I
go to change the colorscheme manually I get a bunch of Cannot allocate
color colorname. A bunch being about 20 or them.
Any ideas?
Robert
This is my configure line:
./configure --enable
I have compiled the version from svn. It creates the .app bundle. When I
go to change the colorscheme manually I get a bunch of Cannot allocate
color colorname. A bunch being about 20 or them.
Any ideas?
Robert
When you do this --enable-pythoninterp --enable-rubyinterp what do you
get? Does that just allow another language to be used as a vim script?
Robert
litespeed59 wrote:
Alan,
I recently figured out how to compile Vim on a Mac from source, so here is
the method I used. I too am fairly new at this, so if any Mac users can
improve on my instructions, feel free to do so.
I obtained the Vim sources through Subversion (I keep my source code
litespeed59 wrote:
Robert,
Yes, the initial Subversion download will get Vim with all the latest
patches. There may be a delay of a day or two between the time the patches
are first released, and when they appear in the Subversion repository, but
otherwise this is a great way to stay up to
Alan G Isaac wrote:
On Mon, 8 Jan 2007, Brett Calcott apparently wrote:
I have just got a Macbook (switching from windows) and
have downloaded and compiled the latest version of Vim on
it. It all works fine, but I have a few questions.
Would you mind outlining the steps you took for someone
I know that in some IDE's I can check a box that causes the IDE to
automatically strip trailing white space. Does Vim have a switch to do
that or do I need to do:
autocmd BufWritePre * %s/\s*$//e
It would be nice to have a set stripwhitespace if that is the case but
I guess that is the power
Usage question. I have a custom statusline. That statusline also shows
up in the Calendar pane and in the diary pane. Is there a way I can
restrict it from doing that?
Robert
Is there a function to determine if a font exists? Something like:
if exists(Monaco)
set gfn=Monaco:h10
elsif exists(Consolas)
set gfn=Consolas:h11
endif
Roughly...
Robert
I did a standard install of Vim7 on HP/UX and multi-byte was not
enabled. I looked at my Windows version and multi-byte is enabled.
What would determine for me if I need to enable it?
Robert
Yakov Lerner wrote:
On 9/26/06, Robert Hicks [EMAIL PROTECTED] wrote:
I did a standard install of Vim7 on HP/UX and multi-byte was not
enabled. I looked at my Windows version and multi-byte is enabled.
What would determine for me if I need to enable it?
in :version, see whether you have
I have an option match for my Tcl syntax script as follows:
syn match tclOptionMatcher \%(^\|\s\)\zs-[a-zA-Z]\+
contains=tclOptionStarter
syn match tclOptionStarter contained -
I also would like to get tclOperators going as well:
syntax match tclOperator [~\-_+*\[\]{}=|[EMAIL
Is there a way to highlight unmatched strings for and ' in a syntax file?
Robert
Bram Moolenaar wrote:
Greetings, Vim users.
I am hosting a Vim BOF at the upcoming O'Reilly Open Source Convention:
Title: Vim 8?
Date: Tuesday, 19 September 2006
Time: 20:30 - 21:30
Location: Salon Versailles
Summary: Vim 7 was released May 2006. Does it make sense
Robert Hicks wrote:
Is there a way to highlight unmatched strings for and ' in a syntax file?
Robert
By unmatched I mean:
This is a string
This is a string
In article [EMAIL PROTECTED],
Robert Hicks [EMAIL PROTECTED] wrote:
Robert Hicks wrote:
I have the following in my .vimrc:
=
Files/Backups
=
set backup
set backupdir=/home/devsp7/.vim/backup
set dir=/home/devsp7/.vim/temp
set patchmode=.prev
In article [EMAIL PROTECTED],
Paul Irofti [EMAIL PROTECTED] wrote:
On Sunday 27 August 2006 19:01, Paul Irofti wrote:
On Sunday 27 August 2006 17:44, A.J.Mechelynck wrote:
Paul Irofti wrote:
Hi vimers,
snip
It would be pretty cool if I could keep all my gui and non-gui stuff in
Robert Hicks wrote:
I have the following in my .vimrc:
=
Files/Backups
=
set backup
set backupdir=/home/devsp7/.vim/backup
set dir=/home/devsp7/.vim/temp
set patchmode=.prev
Config for savevers.vim
let savevers_types=*
let savevers_max=10
let savevers_purge=1
let
Robert Hicks wrote:
I have the following in my .vimrc:
=
Files/Backups
=
set backup
set backupdir=/home/devsp7/.vim/backup
set dir=/home/devsp7/.vim/temp
set patchmode=.prev
Config for savevers.vim
let savevers_types=*
let savevers_max=10
let savevers_purge=1
let
A.J.Mechelynck wrote:
Groleo Marius wrote:
[...]
Thing is, the vim's tabpage mechanism is just not the way all tabbed
apps work.
I've spent a whole day searching for a solution with no luck though.
I guess I'm searching in the wrong place, but how hard it is to implement
and option that let
I have the following in my .vimrc:
=
Files/Backups
=
set backup
set backupdir=/home/devsp7/.vim/backup
set dir=/home/devsp7/.vim/temp
set patchmode=.prev
Config for savevers.vim
let savevers_types=*
let savevers_max=10
let savevers_purge=1
let savevers_dirs=backupdir
Manu Anand wrote:
Funny!!
I was thinking about this y'day.
I think this would be more than one option.
This option should exist for each opened instance of VIM.
We can probably change the functionality of Edit with existing
filename to open in a new tab.
Wotsay?
I would rather the behavior
Alan G Isaac wrote:
On Mon, 31 Jul 2006, (BST) Georg Dahn apparently wrote:
I personally need Latin only and use Consolas:
http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3displaylang=en
which (IMHO) is a great font.
This package is only intended
Georg Dahn wrote:
I am not sure, if they have CJK included yet, but
http://dejavu.sourceforge.net/wiki/index.php/Main_Page
is a set of Unicode fonts which are being worked at intensely.
--- A.J.Mechelynck [EMAIL PROTECTED] wrote:
As I already mentioned, on Windows I use Courier_New for Russian
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
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?
:Robert
A.J.Mechelynck wrote:
Robert Hicks wrote:
Marc Weber wrote:
:Robert
See :h quickfix ;)
Brief: :compiler perl
:set makeprg=perl :make test.pl)
If you want to add options to perl use set makeprg=perl\ --option\ blah
(escape whitespaces)
The quickfix cycle might remove some output
Does anyone know what happened to the author of the perl-support.vim
plugin? I have emailed him using the info on his site and in the package
but it bounces. Has he dropped the project?
:Robert
Fritz Mehner wrote:
Robert Hicks schrieb:
Does anyone know what happened to the author of the perl-support.vim
plugin? I have emailed him using the info on his site and in the
package but it bounces. Has he dropped the project?
No I have NOT dropped the project.
Great!
Emails
Apparently Earthlink is now considered a spamming service?
=== This is what I get back ===
This is the Postfix program at host dvzis.fh-swf.de.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance,
Yakov Lerner wrote:
On 7/30/06, Robert Hicks [EMAIL PROTECTED] wrote:
Apparently Earthlink is now considered a spamming service?
Earthlink ? You're using gmail account, aren't you ?
I post to newsgroups with my gmail account so spam reapers don't get my
home account. I do answer from gmail
Since a bit has changed in Vim7; does anyone know of a book (in English)
in the works for it?
:Robert
Marc Weber wrote:
:Robert
See :h quickfix ;)
Brief:
:compiler perl
:set makeprg=perl
:make test.pl)
If you want to add options to perl use set makeprg=perl\ --option\ blah
(escape whitespaces)
The quickfix cycle might remove some output.. depending on errorformat.
I was waiting for this
Currently I have a couple functions defined that when I do \rc for
example it checks my Perl code. When I run this it opens up a DOS window
to show me the ok or error message.
How do I get that to show up in the bottom of my window (is that the
command area?).
:Robert
Yakov Lerner wrote:
On 7/26/06, Robert Hicks [EMAIL PROTECTED] wrote:
Currently I have a couple functions defined that when I do \rc for
example it checks my Perl code. When I run this it opens up a DOS window
to show me the ok or error message.
How do I get that to show up in the bottom of my
Is there a way Vim, when it displays an error and gives me a line number
for me to click on that line number and Vim takes me there?
:Robert
From the Site Help link: http://vim.sourceforge.net/huh.php
In order to upload scripts you must have an account with vim online.
This is so there can be defined contact people for scripts to avoid
confusion. User passwords are stored using one-way encryption.
It took me about 30 seconds to
A.J.Mechelynck wrote:
Tim Chase wrote:
syn match tclV ttk\(\(::\)\?\([[:alnum:]_.]*::\)*\)\a[a-zA-Z0-9_.]*
I only want this to work ttk at the start. I know that ^ means the
start but I am not sure how to add that (I did try just adding it) to
make the regex start with ttk.
Just put it at
syn match tclExternal \\(package\)\s\(forget\|ifneeded\|require\)\
I would like a region that looks at the word(s) coming after that match.
package require Tk
Tk in that would be the word to match (and color).
:Robert
set backup
set backupdir=~/.vim/backup
set dir=~/.vim/temp
Configuration for savevers.vim
http://www.vim.org/scripts/script.php?script_id=89
set patchmode=.prev
let savevers_types=*
let savevers_max=10
let savevers_purge=1
let savevers_dir=backupdir
That is my config...and it doesn't work.
Robert Hicks wrote:
set backup
set backupdir=~/.vim/backup
set dir=~/.vim/temp
Configuration for savevers.vim
http://www.vim.org/scripts/script.php?script_id=89
set patchmode=.prev
let savevers_types=*
let savevers_max=10
let savevers_purge=1
let savevers_dir=backupdir
That is my config
Tim Chase wrote:
Is there a function to create a backup directory if there
isn't one when Vim tries to backup a file?
Well, you can use the following code:
--
function! EnsureDirExists(d)
let l:s = substitute(a:d, '[/\\]*$', '/', '')
let
syn match tclV ttk\(\(::\)\?\([[:alnum:]_.]*::\)*\)\a[a-zA-Z0-9_.]*
I only want this to work ttk at the start. I know that ^ means the
start but I am not sure how to add that (I did try just adding it) to
make the regex start with ttk.
Robert
When I statup Vim I am getting source errors for a syntax file I am
modifying but they go away so fast I cannot read what the errors are.
How do I get Vim to show me those errors?
Robert
I would like to add additional keywords if the first word or first 4
characters of the statement is snit.
snit::type dog {
method {tail wag} {} {return Wag, wag}
method {tail droop} {} {return Droop, droop}
}
Since snit is there then I would like to added method as a keyword.
Robert
Tim Chase wrote:
I would like to add additional keywords if the first word or first 4
characters of the statement is snit.
snit::type dog {
method {tail wag} {} {return Wag, wag}
method {tail droop} {} {return Droop, droop}
}
Since snit is there then I would like to added method as
Yakov Lerner wrote:
On 6/20/06, Robert Hicks [EMAIL PROTECTED] wrote:
I have Vim7 on HP/UX and if I use gVim all is well when I set
colorschemes. However, if I want to use Vim then the HP terminal doesn't
seem to set colors properly. I have set background=dark but that
background (when
Charles E Campbell Jr wrote:
snip
Is it possible to create a keyword group and then do a match with
those words and if they are prefixed with a - to color them a
certain way? A couple of the actual ones would be:
-command
-menu
-fill
-pady
-padx
-tearoff
-label
-text
-height
-width
-justify
If I do this:
syn match OptionMatcher \%(^\|\s\)\zs-\w\+ contains=OptionStarter
syn match OptionStarter contained -
hi link OptionMatcher Special
That colorizes all the words that start with -. So in a round about
way, it works! :-)
:Robert
In Tcl if you do this:
if {0} {
Other code you want to comment
out is in here.
}
That if statement works just like a multi-line comment (i.e. /* */ ) in
other languages.
Is it possible to color that the same way as a comment?
:Robert
Eric Arnold wrote:
Just a suggestion: the C syntax knows enough to color
#if 0
...
#endif
as a comment. You can look at how it does that.
It's easy to do if you don't have anything nested inside the if block.
I.e. something like
syntax match comment /if\s*(\s*0\s*)\s*{[^}]\_*}/
Otherwise,
Tim Chase wrote:
I would like to match all options that start with a hyphen like:
-one
-two
So all those would be a match from the - to the end of the word.
Looks like a simple
/\-\w\+\/
It makes some presumptions where your description falls silent. What
constitutes a word for you?
Robert Hicks wrote:
Tim Chase wrote:
I would like to match all options that start with a hyphen like:
-one
-two
So all those would be a match from the - to the end of the word.
Looks like a simple
/\-\w\+\/
It makes some presumptions where your description falls silent. What
I currently have this:
autocmd BufEnter * :%s/[ \t\r]\+$//e get rid of the pesky ^M
However, it gives me an error I have to enter through when I open a
readonly file.
I want to be able to turn that off when the file is RO.
:Robert
let MSWIN = has(win16) || has(win32) || has(win64) || has(win95)
|| has(win32unix)
Is there a windows variable that has all these in it?
:Robert
James Vega wrote:
On Tue, May 30, 2006 at 09:16:38AM -0400, James Vega wrote:
On Tue, May 30, 2006 at 09:04:15AM -0400, Robert Hicks wrote:
I currently have this:
autocmd BufEnter * :%s/[ \t\r]\+$//e get rid of the pesky ^M
However, it gives me an error I have to enter through when I
I have never used a gvimrc. Does that get parsed by gVim only?
:Robert
Yakov Lerner wrote:
On 5/19/06, Robert Hicks [EMAIL PROTECTED] wrote:
Is there some tutorial out there for a newbie starting with Vim7 to
learn how to program for it?
The Write a Vim script tutorial is bundled with vim.
You only need to know how to open it in vim. Here is how:
:he usr_41
A.J.Mechelynck wrote:
Vinay Doma wrote:
A.J.Mechelynck wrote:
Maybe I overreacted. OK, let's amend it: if you want a Windows-like
editor, don't use Vim, use WordPad (in plaintext mode). I still won't
recommend mswin.vim to anybody.
But what about mswin.vim don't you like? All it has is a
I do not have bzip2 on my HP servers. Could Vim7 be bundled up into a
tar.gz just like the .bz2 distribution?
Robert
Bram Moolenaar wrote:
Robert Hicks wrote:
I do not have bzip2 on my HP servers. Could Vim7 be bundled up into a
tar.gz just like the .bz2 distribution?
If you are able to install Vim, aren't you also able to install
bzip2/bunzip2?
No, I got special consideration for Vim because I lobbied
Juan Pablo Aqueveque wrote:
Hi everyone.
I just downloaded vim7 and i realize that Spanish spelling is not. how
i can set it? (step by step please).
--
juan pablo aqueveque
www.juque.cl
How about:
:help spell
: )
Robert
Bram Moolenaar wrote:
Gene Kwiecinski wrote:
- Win32: Dropping a shortcut on the Vim icon edited the shortcut instead
of the file it refers to (old problem).
Any way to actually edit the shortcut? :D
Yes, set 'binary' before editing the file. Well, that requires the -b
argument somehow
If I open a file with a long enough path name Vim will stop loading
until I hit enter to continue. How can I change this?
Robert
Steve Hall wrote:
I have made available a Windows installer for Vim 7.0e (beta):
http://prdownloads.sourceforge.net/cream/gvim-7-0e-beta-0.exe?download
This contains only English language files, you'll need to download and
manually install the lang\ and spell\ files for other options. These
I have a log that has embedded null characters (i.e ^@). I need to get
rid of them all.
Robert
Yakov Lerner wrote:
On 4/17/06, Robert Hicks [EMAIL PROTECTED] wrote:
I have a log that has embedded null characters (i.e ^@). I need to get
rid of them all.
:map F2 :s/C-V000//gcr
Then press F2
Yakov
Thank you!
Rober
Eric Arnold wrote:
You've gotta be careful about nulls. Vim stores newlines (^J) as
nulls in some cases, so you might be getting rid of more than you
wanted.
Thanks for the warning. I only want to do this for one file that I have
so I am not going to permanently add it to my .vimrc.
89 matches
Mail list logo