Dnia poniedziałek, 23 października 2006 16:25, Nikolai Weibull napisał:
On 10/23/06, Mikolaj Machowski [EMAIL PROTECTED] wrote:
Hello,
I understand that escape() was primarily designed to escape strings
when passing to system functions, but personally I never used that and
in didn't
On 10/23/06, Mikolaj Machowski [EMAIL PROTECTED] wrote:
Dnia poniedziałek, 23 października 2006 16:25, Nikolai Weibull napisał:
I'll take your word for it that that means that I wrote something at
some time or other.
There should really be a third, optional, parameter to escape() where
Yegappan Lakshmanan wrote:
On 10/23/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
You can try the attached patch against the latest Vim7 sources.
The syntax of the new function is:
setbufline({expr}, {lnum}, {line})
where, {expr} specifies the loaded buffer
Yakov Lerner wrote:
On 10/23/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
In vimdiff mode, when you resize xterm vertically, 2 panes
become desynchronized, and stay desynchronized until you
press an arrow key.
The active pane is repositioned according to
Patch 7.0.148
Problem:When doing call a.xyz() and xyz does not exist in dictionary
a there is no error message. (Yegappan Lakshmanan)
Solution: Add the error message.
Files: src/eval.c
*** ../vim-7.0.147/src/eval.c Tue Oct 17 15:17:41 2006
--- src/eval.c Tue Oct 24
Patch 7.0.150
Problem:When resizing the Vim window scrollbinding doesn't work. (Yakov
Lerner)
Solution: Do scrollbinding in set_shellsize().
Files: src/term.c
*** ../vim-7.0.149/src/term.c Wed Aug 16 21:42:34 2006
--- src/term.c Tue Oct 24 11:26:33 2006
Dnia wtorek, 24 października 2006 11:10, Nikolai Weibull napisał:
Oh, I see. You're thinking of creating a string for passing to
substitute() inside an :execute, or something like that. Ah, true,
then you'd need to escape the single-quotes for the string, and, e.g.,
. with \.. Escaping is a
Tony Mechelynck wrote:
I fell by chance on http://www.iana.org/assignments/character-sets , the
official list of character set names and aliases allowable on the Internet.
Only names (with their aliases) are listed there, with bibliographical links
to various sources.
Maybe that URI
Patch 7.0.152
Problem:Crash when using lesstif 2.
Solution: Fill in the extension field. (Ben Hutchings)
Files: src/gui_xmebw.c
*** ../vim-7.0.151/src/gui_xmebw.c Sat May 13 17:26:10 2006
--- src/gui_xmebw.c Tue Oct 24 22:27:53 2006
***
*** 138,143
---
On Mon, 23 Oct 2006 at 12:51pm, Mikolaj Machowski wrote:
Hello,
I understand that escape() was primarily designed to escape strings when
passing to system functions, but personally I never used that and in
didn't noticed such use in various scripts but very often it is used to
escape
On 10/25/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
:echo escape('as''df', )
I didn't even know that you can escape a single-quote inside
single-quotes like this, where is this information burried in Vim help?
It seems to work though, so just checking if it is documented.
It's
--- Nikolai Weibull [EMAIL PROTECTED] wrote:
I figured that it was easier to add items to a cluster using
containedin= for a syntax definition I'm writing, but it seems that
one can't do it that way. Is there a reason for this, or is it an
oversight? Can we add this to the todo? I've
On Tue, 24 Oct 2006 at 11:10am, Nikolai Weibull wrote:
There should really be a third, optional, parameter to escape() where
you can specify what character to use for escaping.
That wouldn't be real solution because to escape ' you still (in most
situations) would need two escape()
Hi,
I have a basic question about vim internal. Let me use an example to
describe:
Say I have a text file of 20Mbytes. I use VIM to insert 3 characters at
offset 1024 bytes from the beginning of the file and then I save the
file. My question is: how does VIM handle the file write and save? Does
On Mon, 23 Oct 2006 at 5:16pm, Yegappan Lakshmanan wrote:
Hi all,
When a non-existing dictionary function is invoked using the :call
command, there is no error. But when it is used in an expression,
an error message is displayed. Is this the expected behavior?
let a = {}
call
Ming Lei wrote:
I have a basic question about vim internal. Let me use an example to
describe:
Say I have a text file of 20Mbytes. I use VIM to insert 3 characters at
offset 1024 bytes from the beginning of the file and then I save the
file. My question is: how does VIM handle the file write
Bram Moolenaar wrote:
Tony Mechelynck wrote:
I fell by chance on http://www.iana.org/assignments/character-sets , the
official list of character set names and aliases allowable on the Internet.
Only names (with their aliases) are listed there, with bibliographical links
to various sources.
Matthew Woehlke wrote:
Ming Lei wrote:
I have a basic question about vim internal. Let me use an example to
describe:
Say I have a text file of 20Mbytes. I use VIM to insert 3 characters at
offset 1024 bytes from the beginning of the file and then I save the
file. My question is: how does VIM
Hello Bill,
I don't use UTL.vim or Total Commander, so I can't help you.
However, *.vba are vimballs (kind of like tarballs). All
you do is edit one and it tells you what to do - type:
:so %
That will place the files in the appropriate directories
(usually under your vimfiles
Hello Bill,
I don't use UTL.vim or Total Commander, so I can't help you.
However, *.vba are vimballs (kind of like tarballs). All
you do is edit one and it tells you what to do - type:
:so %
That will place the files in the appropriate directories
(usually under your vimfiles
Marius Roets wrote:
I believe I have found a bug in Vim 7.0.146, relating to mksession and
lcd. Here is a small example.
1) Open Vim
2) :e file1.txt
3) :tabe temp/file2.txt Any different directory
4) :lcd %:h
5) :mks test.vim
6) Close vim
7) Open vim
8) :source test.vim
9) The second
On 10/24/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
I see the problem. I'll fix it.
Thanks Bram!
Raymond wrote:
[...]
How can I adjust vimrc configuration so tab alignment looks
the same both in Vim and in Notepad?
Best Regards,
Raymond
Leave 'tabstop' at its default of 8, since (IIUC) the width of tab stops is
not user-settable in Notepad.
If you have any files that look different in
On 10/24/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
I see the problem. I'll fix it.
This works correctly now after applying patch 7.0.147. Thanks again Bram.
Marius
Hi everyone,
has anyone written a vim function to toggle/convert ruby block types?
ie:
{ |x| puts x }
toggled becomes:
do |x|
puts x
end
toggled becomes:
{ |x| puts x }
again
So if the cursor is within the {} or between the do/end hitting a mapped
'toggle key' will
Meino Christian Cramer wrote:
Hi,
I read of a vimtip, that one can move/copy lines of a text which
match a cvertina pattern to line 0 (top) of the text.
This is a nice trick to gather material for a kinda quick'n'dirty
Table of contents it has one drwaback: The copied lines are in
Hello Tony,
How can I adjust vimrc configuration so tab alignment looks
the same both in Vim and in Notepad?
Leave 'tabstop' at its default of 8, since (IIUC) the width of tab stops is
not user-settable in Notepad.
If you have any files that look different in Vim and Notepad, use
Meino Christian Cramer wrote:
Hi,
I read of a vimtip, that one can move/copy lines of a text which
match a cvertina pattern to line 0 (top) of the text.
This is a nice trick to gather material for a kinda quick'n'dirty
Table of contents it has one drwaback: The copied lines are in
On 10/24/06, Fabian Braennstroem [EMAIL PROTECTED] wrote:
Hi,
I just found the new ':set cul' feature, which underlines
the current line. Now, I would like to use it just for
searching (it seems to slow to use it for general editing),
i.e. when I jump to a search result using n|N I want to see
Does vim have uppercase marks ?
Yes...though they cross files and are referred to as file
marks. You can learn more at
:help viminfo-file-marks
and at
:help :delmarks
and skim down to the section:
'a - 'z lowercase marks, valid within one file
'A - 'Z uppercase marks,
On Tue, Oct 24, 2006 at 08:47:46AM -0400, Dave Roberts wrote:
Meino Christian Cramer wrote:
Hi,
I read of a vimtip, that one can move/copy lines of a text which
match a cvertina pattern to line 0 (top) of the text.
This is a nice trick to gather material for a kinda quick'n'dirty
I have a question. Is it good idea to create
swapfile on 1st change in the file, and keep
swapfile nonexistant while buffer has no changes ?
(Like, immediately after save). I am asking because
this can be implemented as plugin, but do you think
this mode has uses ?
Yakov
Please, oh Vim gurus, explain this binary/noeol situation. It seems to
me that if I open a text file in e.g. metapad or Edit Plus or any of
these other very simple Windows-based text editors, I am able to delete
the final line break, which appears on screen as though there is a
zero-length
Aaron wrote:
Please, oh Vim gurus, explain this binary/noeol situation. It seems to
me that if I open a text file in e.g. metapad or Edit Plus or any of
these other very simple Windows-based text editors, I am able to delete
the final line break, which appears on screen as though there is a
A.J.Mechelynck wrote:
Aaron wrote:
Please, oh Vim gurus, explain this binary/noeol situation. It seems
to me that if I open a text file in e.g. metapad or Edit Plus or any
of these other very simple Windows-based text editors, I am able to
delete the final line break, which appears on screen
On Tue, Oct 24, 2006 at 10:29:43PM +1000, Mark Woodward wrote:
Hi everyone,
has anyone written a vim function to toggle/convert ruby block types?
ie:
{ |x| puts x }
toggled becomes:
do |x|
puts x
end
toggled becomes:
{ |x| puts x }
again
So if
Aaron Thebailiwick wrote:
Please, oh Vim gurus, explain this binary/noeol situation. It seems to
me that if I open a text file in e.g. metapad or Edit Plus or any of
these other very simple Windows-based text editors, I am able to delete
the final line break, which appears on screen as
On 10/24/06, Aaron [EMAIL PROTECTED] wrote:
If anyone is curious, the reason this came up is because ColdFusion
custom tags will print that trailing newline as a space even when you
tell it to suppress white space. The only way to avoid it is to save the
custom tag file without the final newline
Aaron wrote:
A.J.Mechelynck wrote:
Aaron wrote:
Please, oh Vim gurus, explain this binary/noeol situation. It seems
to me that if I open a text file in e.g. metapad or Edit Plus or any
of these other very simple Windows-based text editors, I am able to
delete the final line break,
Bram Moolenaar wrote:
Aaron Thebailiwick wrote:
Please, oh Vim gurus, explain this binary/noeol situation. It seems to
me that if I open a text file in e.g. metapad or Edit Plus or any of
these other very simple Windows-based text editors, I am able to delete
the final line break, which
Dnia poniedziałek, 23 października 2006 23:23, Bill Mill napisał:
On 10/23/06, Mikolaj Machowski [EMAIL PROTECTED] wrote:
Dnia poniedziałek, 23 października 2006 15:18, Bill Mill napisał:
How would you recommend getting this to work? Should I try and edit
supertab? Is there an easy way to
* Aaron [EMAIL PROTECTED] [061024 12:51]:
Then it's no surprise that Windows text editors follow the theoretical
and probably broken approach, while the Unix ones do things the way
they've always been done.
Thanks for weighing in on this one, Bram.
Well, I never heard of line separator
Aaron wrote:
[...]
Here's a thought, though. There is nothing in the file type or filename
that will indicate that it is a custom tag, but the file will *always*
live in /some/path/custom_tags/myfile.cfm. That's where the CF server
will look for custom tags so they have to be there by design.
On 2006-10-24, Aaron [EMAIL PROTECTED] wrote:
A.J.Mechelynck wrote:
yes, that should work if you're dead set on writing a file without a
final EOL. You might even automate it further by defining
autocommands: let's say that particular filetype is identified by
extension .xyz -- then you
A,
A.J.Mechelynck wrote:
Aaron wrote:
[...]
Here's a thought, though. There is nothing in the file type or
filename that will indicate that it is a custom tag, but the file
will *always* live in /some/path/custom_tags/myfile.cfm. That's where
the CF server will look for custom tags so
Aaron wrote:
A.J.Mechelynck wrote:
Aaron wrote:
[...]
Here's a thought, though. There is nothing in the file type or
filename that will indicate that it is a custom tag, but the file
will *always* live in /some/path/custom_tags/myfile.cfm. That's where
the CF server will look for
On 10/24/06, Fabian Braennstroem [EMAIL PROTECTED] wrote:
Hi Yakov,
* Yakov Lerner [EMAIL PROTECTED] wrote:
On 10/24/06, Fabian Braennstroem [EMAIL PROTECTED] wrote:
Hi,
I just found the new ':set cul' feature, which underlines
the current line. Now, I would like to use it just for
Marvin Renich wrote:
* Aaron [EMAIL PROTECTED] [061024 12:51]:
Then it's no surprise that Windows text editors follow the theoretical
and probably broken approach, while the Unix ones do things the way
they've always been done.
Thanks for weighing in on this one, Bram.
Well, I never heard
Hi Yakov,
* Yakov Lerner [EMAIL PROTECTED] wrote:
On 10/24/06, Fabian Braennstroem [EMAIL PROTECTED] wrote:
Hi Yakov,
* Yakov Lerner [EMAIL PROTECTED] wrote:
On 10/24/06, Fabian Braennstroem [EMAIL PROTECTED] wrote:
Hi,
I just found the new ':set cul' feature, which underlines
the
On 10/24/06, Fabian Braennstroem [EMAIL PROTECTED] wrote:
Hi Yakov,
* Yakov Lerner [EMAIL PROTECTED] wrote:
On 10/24/06, Fabian Braennstroem [EMAIL PROTECTED] wrote:
Hi Yakov,
* Yakov Lerner [EMAIL PROTECTED] wrote:
On 10/24/06, Fabian Braennstroem [EMAIL PROTECTED] wrote:
Hi,
I
hello,
I like to have a menu to navigate through the propositions available
when I hit Tab so I love the option wildmenu. However, it would be
even better if the navigation was two-dimensional, on several lines,
like in zsh when the option zstyle ':completion:*' menu select is set.
Is there
koxinga wrote:
hello,
I like to have a menu to navigate through the propositions available
when I hit Tab so I love the option wildmenu. However, it would be
even better if the navigation was two-dimensional, on several lines,
like in zsh when the option zstyle ':completion:*' menu select is
I'm using Vim 7.0.122 on Debian Unstable. I can send output of
:version if needed. I've recently started having problems using
Align.vim:
Error detected while processing function AlignWrapperStart:
line 28:
E117: Unknown function: Align#AlignPush
I've tried installing the script from both
On Saturday 21 October 2006 01:14, A.J.Mechelynck wrote:
Kamaraju Kusumanchi wrote:
Using Debian Etch and
$vim --version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Oct 10 2006 00:14:41)
Included patches: 1-122
When I do mksession and load the session with gvim -S, the window sizes
I am facing a weird problem with the '' marker not getting set. Here is
what I am doing, but this may be more generic than what I do, but this
scenario is the most I use:
- While on an identifier, use ^W^] to jump to the id definition.
- Mark the line, say, ma
- move a few lines up using k, say
Hi,
The vim.sf.net has a script search feature which can sort by Rating,
Downloads, Name and Creation date. And can be filtered by type.
If we want to see in the specified category which scripts has been updated
(or created) recently, the only way seems to choose the creation date and
decending
Hello,
I am having trouble with OS X GUI, none of the highlighting is in Bold. Is
this a Bug, or does Bold font just not work in the OS X gui?
regards,
peter
On Yahoo!7
Want to make technology work harder for your
57 matches
Mail list logo