On 7/9/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Justin Constantino wrote:
Currently, if you try to assign a value to a variable with a different
type, you get:
E706: Variable type mismatch
To make it work, you have to first unlet the variable, which is kind
of annoying if the
i don't get it
vim compiles for me just fine -- suse linux 10.0, using KDE,
vim 7.0.35 -- am i missing something here?
I think he meant a Vim GUI that is based on KDE/Qt rather than GNOME/GTK.
Diwaker
--
Web/Blog/Gallery: http://floatingsun.net/blog
On Wed, Jul 12, 2006 at 01:24:51PM -0400, Charles E Campbell Jr wrote:
Benji Fisher wrote:
I think I see the problem. In $VIMRUNTIME/autoload/netrw.vim , in
the function netrw#DirBrowse() , there are the lines
if fo =~ '[ta]'
set fo-=t
set fo-=a
echohl Warning
echo
On 7/13/06, Peter Hodge [EMAIL PROTECTED] wrote:
However, if I type anything beginning with 'for', the letters disappear
until I
type something that is not part of the mapping. I understand this is
the
standard behaviour, but is there any way to change it so I can see
what I am
typing?
On Thu, 2006-07-13 at 06:42:43 +0200, Cesar Romani sent:
In the following function the bracket at 3 doesn't match the
bracket at 17 And the bracket at 5 doesn't match the bracket at
8
I don't think matchit.vim is to blame here. I have tried your
code with VIM - Vi IMproved 7.0 (2006 May 7,
Thanks Yakov,
that was the explanation I wanted.
Rob.
Yakov Lerner wrote:
On 7/12/06, Robert Cussons [EMAIL PROTECTED] wrote:
Thanks Max and Chip, I didn't realis that \ and \ were used to denote
the beginning and end of the word and therefore they could be used
separately, I always just
Hello,
I have a problem when indenting C comments(cindent)
I would like to have (I must fit to my company's
coding rules):
/*
This is the comment
*/
But with cindent, I get :
/*
This is the comment
*/
== My */ is at the same indent level as the body.
What should I set in gvim?
I realize that installing scripts from remote URLs
always have security considerations associated with it.
Still, my question is: Let's say that somebody I trust
published useful script (plugin) at some URL, like http://xyz.
Is there any command or script, supposedly bundled with vim (?)
that
Hi everybody,
ViM does not detect my ada ftplugin file in $HOME/.vim/ftplugin/ada.vim,
though my runtimepath variable contains ~/.vim .
If I source the file manually, my stuff does work.
Has anyone an idea of what's wrong?
Regards,
Julien
This message and any attachments (the message) is
I installed per provided instructions (WinXP) but when I type :Vst I get a
bunch of error messages, mostly undefined variables:
g:plinen_rez
g:paras_rez
g:ptype_rez
etc.
all of which are initialized in $VIM\vimfiles\autoload\vst\vst.vim but
don't seem to be picked up when :Vst is executed.
I'm even to lazy to type foreach. Thus I've defined mappings like this:
inoremap buffer m-fm-e foreachspace...
Makes total of 2 keys+ meta key. ;)
with this mapping
opens the ftp plugin file with _mw appended
map m-s-fm-s-tm-s-p :exec 'e
On Wed, Jul 12, 2006 at 03:48:22PM -0700, John Reese wrote:
So there's this handy [i command that, when filetype=c, displays the
first line mentioning the identifier under the cursor, which will
often be its definition. The especially handy thing about it is that
it knows about #include lines
On Thu, Jul 13, 2006 at 06:42:43AM +0200, Cesar Romani wrote:
In the following function the bracket at 3 doesn't match the bracket at 17
And the bracket at 5 doesn't match the bracket at 8
1 ?php
2 function test1($a,$b,$c,$d,$e,$f)
3 {
4 if($e=='hola')
5 {
6
On Thu, Jul 13, 2006 at 09:26:16AM +, Yakov Lerner wrote:
I realize that installing scripts from remote URLs
always have security considerations associated with it.
Still, my question is: Let's say that somebody I trust
published useful script (plugin) at some URL, like http://xyz.
Is
From: Yakov Lerner, Jul 13, 2006 5:26 AM
I realize that installing scripts from remote URLs
always have security considerations associated with it.
Still, my question is: Let's say that somebody I trust
published useful script (plugin) at some URL, like http://xyz.
Is there any command or
On 7/13/06, Yakov Lerner [EMAIL PROTECTED] wrote:
:imap ctrl-Zf foreach
Correction. I wanted to write:
:imap c-Zf foreach
Yakov
On Thu, 13 Jul 2006 at 9:21am, Yakov Lerner wrote:
On 7/13/06, Peter Hodge [EMAIL PROTECTED] wrote:
However, if I type anything beginning with 'for', the letters disappear
until I
type something that is not part of the mapping. I understand this is
the
standard behaviour, but is
On 7/13/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
On Thu, 13 Jul 2006 at 9:21am, Yakov Lerner wrote:
On 7/13/06, Peter Hodge [EMAIL PROTECTED] wrote:
However, if I type anything beginning with 'for', the letters disappear
until I
type something that is not part of the mapping. I
Dnia czwartek, 13 lipca 2006 11:26, Yakov Lerner napisał:
If not, then what's the closest existing thing to such :InstallScript
functionality ?
You have also GetLatestVimScripts. But this is targeted directly to
vim-online.
m.
Hello,
I have a mapping which immediately searches for visually selected items.
It achieves this by yanking the selected text and exec[utes] a search for
the register content
This works so far.
vmap / y:execute /.escape(@,'[]/\.*')CR
Now I tried this first time for multiline selects, but it
I'm using Vim 7.0 on WinXP SP2. I don't think I did anything specific
to turn on omni-completion (perhaps it's on by default? I'm editing
Python files), and I'm in no rush to start using it, although if it
was non-intrusive I wouldn't mind leaving it on. The problem is that
I've recently
On Thu, Jul 13, 2006 at 06:02:40PM +0200, [EMAIL PROTECTED] wrote:
Hello,
I have a mapping which immediately searches for visually selected items.
It achieves this by yanking the selected text and exec[utes] a search for
the register content
This works so far.
vmap / y:execute
On Thu, 13 Jul 2006 at 12:04pm, Maciej Kalisiak wrote:
I'm using Vim 7.0 on WinXP SP2. I don't think I did anything specific
to turn on omni-completion (perhaps it's on by default? I'm editing
Python files), and I'm in no rush to start using it, although if it
was non-intrusive I wouldn't
On 13/07/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
You are probably talking about the insert-mode completion rather than
the omni-completion. Omni completion is meant is similar to the MS
intellisense, and is not turned on by default.
Ahhh, I see, yes, I think you're right.
But is there
Thanks--keepcase.vim is great. So now with
:%s/firstname/\=KeepCase(submatch(0), 'LastName')/ig
I can replace all instances of
firstname with lastname
firstName with lastName
FirstName with LastName
But \=KeepCase(submatch(0), '') is a mouthful.
Not a problem;
Comment out a line by inserting # then move to the lower line
map F10 i# Eschj
Here I try to do the same thing but use the BufEnter event to make the
comment character
change depending on the file type (*.asp).
let comment_char=#
autocmd BufEnter *.asp let comment_char='
execute map F10 i
Hi, I'm a Vim scripting newbie, and had a pretty general question.
I'm would like to write a function that does the following:
1. Searches a directory for all files that end in the string Template
2. Return those file names to the user as chooseable list, similar to
the way that the spell
On Thu, 13 Jul 2006 at 1:15pm, Maciej Kalisiak wrote:
On 13/07/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
You are probably talking about the insert-mode completion rather than
the omni-completion. Omni completion is meant is similar to the MS
intellisense, and is not turned on by
On Thu, 13 Jul 2006 at 10:37am, JD Miller wrote:
Comment out a line by inserting # then move to the lower line
map F10 i# Eschj
Here I try to do the same thing but use the BufEnter event to make the
comment character
change depending on the file type (*.asp).
let comment_char=#
On Thu, 13 Jul 2006 at 12:58pm, Tom Purl wrote:
Hi, I'm a Vim scripting newbie, and had a pretty general question.
I'm would like to write a function that does the following:
1. Searches a directory for all files that end in the string Template
2. Return those file names to the user as
1. Searches a directory for all files that end in the string Template
2. Return those file names to the user as chooseable list, similar to
the way that the spell checker functionality works when you use the z=
command.
Well, as an ugly first-pass hack:
:let s = expand(*template)
:echo
Hi,
I've read through the manual and checked out the FAQ, but I can't see how to
implement file versioning in Vim.
What I'd like to do is mimic the VMS file versioning feature wherein if you
edit a file (say, file.txt) , the original is saved as file.txt.1.
Subsequent backups of the same file
Hi,
I've read through the manual and checked out the FAQ, but I can't see how to
implement file versioning in Vim.
What I'd like to do is mimic the VMS file versioning feature wherein if you
edit a file (say, file.txt) , the original is saved as file.txt.1.
Subsequent backups of the same file
From your description, it is not clear if this will be part of a larger
script that you are developing. If all that you want to do is ability to
search and open the file, one of the existing plugins might be able to
help you.
I'm adding a function to the potwiki script so that I can create a
1. Searches a directory for all files that end in the string Template
2. Return those file names to the user as chooseable list, similar to
the way that the spell checker functionality works when you use the z=
command.
Well, as an ugly first-pass hack:
:let s = expand(*template)
:echo
Maciej Kalisiak wrote:
I'm using Vim 7.0 on WinXP SP2. I don't think I did anything specific
to turn on omni-completion (perhaps it's on by default? I'm editing
Python files), and I'm in no rush to start using it, although if it
was non-intrusive I wouldn't mind leaving it on. The problem
On 7/13/06, Robert Ingraham [EMAIL PROTECTED] wrote:
Hi,
I've read through the manual and checked out the FAQ, but I can't see how to
implement file versioning in Vim.
What I'd like to do is mimic the VMS file versioning feature wherein if you
edit a file (say, file.txt) , the original is
On 7/13/06, Robert Ingraham [EMAIL PROTECTED] wrote:
What I'd like to do is mimic the VMS file versioning feature wherein if you
edit a file (say, file.txt) , the original is saved as file.txt.1.
Subsequent backups of the same file are saved as file.txt.2, file.txt.3 and
so forth. In this case,
On 2006-07-13, [EMAIL PROTECTED] wrote:
Hello,
I have a mapping which immediately searches for visually selected items.
It achieves this by yanking the selected text and exec[utes] a search for
the register content
This works so far.
vmap / y:execute /.escape(@,'[]/\.*')CR
Now I
On 2006-07-13, Benji Fisher [EMAIL PROTECTED] wrote:
On Wed, Jul 12, 2006 at 03:48:22PM -0700, John Reese wrote:
So there's this handy [i command that, when filetype=c, displays the
first line mentioning the identifier under the cursor, which will
often be its definition. The especially
On Thu, 13 Jul 2006 at 10:36pm, Bram Moolenaar wrote:
[snip]
Hmm, perhaps you are not talking about omni completion but about normal
Insert mode completion. This now scans other files sooner than in
previous versions, so that the menu can be filled. Note that you don't
have to wait for
Thanks much Hari,
I added a space before the Esc and your method works nicely.
map F1 iC-R=comment_charCR Eschj
Jim
--
View this message in context:
http://www.nabble.com/Mapping-using-Let-in-Autocmd-tf1938850.html#a5318140
Sent from the Vim - General forum at Nabble.com.
I've noticed that using some motions - specifically i{ and suchlike -
will cancel a visual line/block and turn it into regular visual mode
instead, which is rather annoying. Is this intentional, or a bug?
I should just mention that my new favourite command is =a{, which
makes me smile every time
On 13/07/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Hmm, perhaps you are not talking about omni completion but about normal
Insert mode completion.
Thanks to Hari's post earlier, I now believe so, yes.
This now scans other files sooner than in
previous versions, so that the menu can be
I always had this line in my vimrc:
exe set listchars=tab:\xbb\xb7,trail:\xb7
(It is equivalent to set listchars=tab:»·,trail:·)
Suddenly his line stopped working. (I didn't change it)
It assigns now empty value to listchars:
set listchars?
listchars=tab:,trail:
Command
Hi Hari, Yakov,
Thank you very much for your help! Yakov, thank you for an effective solution,
Hari thank you for providing such a flexible way to use it!
kind regards,
Peter
On Yahoo!7
Dating: It's free to join and check
* El 12/07/06 a las 23:34, Stefan Karlsson chamullaba:
Is there an easy way to autoselect language for the builtin
spell checker in vim 7.0? Vimspell plugin has this functionality:
the plugin looks for a specified number of lines and try to guess
which language should it use.
map P reveals no mappings.
This is the vim on Fedora Core 3.
:version
VIM - Vi IMproved 6.3 (2004 June 7, compiled Oct 19 2004 17:17:57)
適用済パッチ: 1-21, 23-24, 26, 28-30
Modified by [EMAIL PROTECTED]
Compiled by [EMAIL PROTECTED]
Huge 版 without GUI. 機能の一覧 有効(+)/無効(-)
+arabic +autocmd
On Fri, Jul 14, 2006 at 02:29:49AM +0300, Yakov Lerner wrote:
I always had this line in my vimrc:
exe set listchars=tab:\xbb\xb7,trail:\xb7
(It is equivalent to set listchars=tab:»·,trail:·)
Suddenly his line stopped working. (I didn't change it)
It assigns now empty value to listchars:
-Messaggio originale-
Da: Benji Fisher [mailto:[EMAIL PROTECTED]
Inviato: giovedì 13 luglio 2006 15.35
A: vim
Cc: Dan Sharp
Oggetto: Re: matchit doesn't work for php
On Thu, Jul 13, 2006 at 06:42:43AM +0200, Cesar Romani wrote:
In the following function the bracket at 3
50 matches
Mail list logo