On Mon, 23 Apr 2007 09:47:21 -0500, Tim Chase [EMAIL PROTECTED]
wrote:
I use vim7 on Win32 and every time I save a file, vim adds a
new blank (CR+LF) line at the end of the file although it is
not visible when in vim. Is there an option to disable this
behaviour?
yes, there is a way to
Hello,
I am trying to open many buffers using some command line tools. For example.
find . -name pom.xml | awk '{print bad $1 /dev/stderr}' | vi -
then issuing ls to no avail
iff I issue
find . -name pom.xml | awk '{print bad $1 /dev/stderr}' 2
session ; vi -S session
Then I have all
find . -name pom.xml | awk '{print bad $1 /dev/stderr}' | vi -
then issuing ls to no avail
iff I issue
find . -name pom.xml | awk '{print bad $1 /dev/stderr}' 2
session ; vi -S session
[cut]
I think I'm missing a point somewhere, can you think of anyway to skip
the intermediary session
Some products will consider a file without a terminator on the final
line to have been truncated, and will report it as a potential problem
because from the product's point of view the input has terminated
Now ya know why I *always* put a blank line at the end of *everything*:
.htm files, .css
Odd, I got this here, but not from the vimlist...
Couldn't the 'patch' command do this? E.g., Vim#1 has made some
changes to
example.c (but not saved them), and Vim#2 makes some different changes
and
...
Shouldn't this be possible through the autocommands? I think you could
write
this as a
On 4/23/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
1) Get up-to-date versions of vimball and netrw:
vimball:
http://vim.sourceforge.net/scripts/script.php?script_id=1502
-or- http://mysite.verizon.net/astronaut/vim/index.html#VimBall
(the mysite.verizon.net one will be
Rob Cussons wrote:
just wondering if anyone else had experienced an error message like
this. It seems that every so often, I've not managed to find any
systematics to this, when I try to perform an undo, I get undo line
numbers wrong or something similar, sorry I don't have the exact
Andrew Falanga wrote:
On 4/23/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
1) Get up-to-date versions of vimball and netrw:
vimball:
http://vim.sourceforge.net/scripts/script.php?script_id=1502
-or- http://mysite.verizon.net/astronaut/vim/index.html#VimBall
(the
Andrew Falanga wrote:
It means step 2 wasn't done properly. You should find the unpacked
vimball
files in the plugin/ and autoload/ subfolders of some folder mentioned in
'runtimepath'.
Nope, I looked in each of the directories (after doing tar -tf
vimball.tar, to get a list of the files),
On 4/24/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Andrew Falanga wrote:
It means step 2 wasn't done properly. You should find the unpacked
vimball
files in the plugin/ and autoload/ subfolders of some folder mentioned in
'runtimepath'.
Nope, I looked in each of the directories (after
Andrew Falanga wrote:
On 4/24/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Andrew Falanga wrote:
It means step 2 wasn't done properly. You should find the unpacked
vimball
files in the plugin/ and autoload/ subfolders of some folder
mentioned in
'runtimepath'.
Nope, I looked in each of
Quoting Andrew Falanga [EMAIL PROTECTED]:
On 4/24/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
Andrew Falanga wrote:
Using your directions above, I continually get problems on step 4.
when I so :so % I'm constantly returned UseVimball is not a vim
command, or something
Tim Chase wrote:
Or even a quality :s command instead of a function:
:%s/.\{72}/r/g
Thanks - I occasionally need to split a line into equal-length blocks
and your command is excellent. Your posts are very valuable.
However, for anyone trying this, 'r' should be '\r'.
:%s/.\{72}/\r/g
John
--- Nikolai Weibull [EMAIL PROTECTED] wrote:
On 4/23/07, Yakov Lerner [EMAIL PROTECTED] wrote:
wish: allow a: in the function definition line:
function foo(a:line1, a:line2)
This is currently not allowed. But it seems logical to allow it.
Why should it be? Extra typing?
So that
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that people don't need to learn a new language
If I understand you correctly, you assume that
ECMAScript is the most popular language among
the people that wish to customize
Thomas schrieb:
Yakov Lerner schrieb:
wish: allow a: in the function definition line:
function foo(a:line1, a:line2)
yeah, occasionally I do
:setl isk+=:
to get completion of variable names in vim scripts.
I'd like to have this for function arguments, too.
Counterwish: implement
Also would it be _recommended_ to ever use a window-local variable
without
the w: prefix? ... IMHO not.
Well, it would make it easier for the user to configure scripts. I'm
myself not convinced that it's a good idea to allow this for all
variables, though. But I think it could be useful in
On 4/24/07, Ilya Sher [EMAIL PROTECTED] wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that people don't need to learn a new language
As a sarcastic joke, this sounds average. But seriously, vim
having supprt for
Hello,
Sorry for raising this issue again. The problem was not yet solved.
I tried all the options I checked :version and there is this line
with OLE support. I tried to run the application from python as said
in documentation and its working fine there. But from java with swt
library I'm
On Tue, Apr 24, 2007 at 10:49:49AM +0300, Ilya Sher wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that people don't need to learn a new language
If I understand you correctly, you assume that
ECMAScript is the
On 4/24/07, Gregory Seidman [EMAIL PROTECTED] wrote:
On Tue, Apr 24, 2007 at 10:49:49AM +0300, Ilya Sher wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that people don't need to learn a new language
If I
On 4/24/07, Yakov Lerner [EMAIL PROTECTED] wrote:
On 4/24/07, Ilya Sher [EMAIL PROTECTED] wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that people don't need to learn a new language
As a sarcastic joke,
On 4/23/07, Nikolai Weibull [EMAIL PROTECTED] wrote:
The attached patch very simply implements the following from the todo:
Wait! I have a comment! Isn't this todo just a subset of
6 Add :cdprev: go back to the previous directory. Need to remember a
stack of previous directories. We
On Tue, Apr 24, 2007 at 05:57:45PM +0200, Nikolai Weibull wrote:
On 4/24/07, Ilya Sher [EMAIL PROTECTED] wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that people don't need to learn a new language
If I
On 4/24/07, Gregory Seidman [EMAIL PROTECTED] wrote:
On Tue, Apr 24, 2007 at 05:57:45PM +0200, Nikolai Weibull wrote:
On 4/24/07, Ilya Sher [EMAIL PROTECTED] wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that
On Tue, Apr 24, 2007 at 05:49:19PM +0200, Nikolai Weibull wrote:
On 4/24/07, Gregory Seidman [EMAIL PROTECTED] wrote:
On Tue, Apr 24, 2007 at 10:49:49AM +0300, Ilya Sher wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using
Robert Lee wrote:
[...]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that people don't need to learn a new language
just to change the color scheme or keyboard mappings. Yes, this will
break backwards compatibility. Tough.
[...]
Don't? WTF
On 4/24/07, Gregory Seidman [EMAIL PROTECTED] wrote:
On Tue, Apr 24, 2007 at 05:49:19PM +0200, Nikolai Weibull wrote:
On 4/24/07, Gregory Seidman [EMAIL PROTECTED] wrote:
On Tue, Apr 24, 2007 at 10:49:49AM +0300, Ilya Sher wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript
Nikolai Weibull wrote:
On 4/24/07, Ilya Sher [EMAIL PROTECTED] wrote:
Robert Lee wrote:
[snip]
Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
using SpiderMonkey) so that people don't need to learn a new language
If I understand you correctly, you assume that
ECMAScript
Yakov Lerner wrote:
The search() doesn't seem to follow 'smartcase' (and this does not
seem to be documented). Is it possible to have a flag to search() to
obey the 'smartcase' ? Can it be included into todo ?
The search() function does use 'smartcase'.
--
hundred-and-one symptoms of being
Bob Hiestand wrote:
On 4/20/07, Bram Moolenaar [EMAIL PROTECTED] wrote:
It was still in my pile of messages to read.
I apologize for my impatience.
I agree that a different function would be more useful. I prefer
haslocaldir(). This would return zero when the current window uses
Yakov Lerner wrote:
[snip]
So do not worry, replacement of vimscript by the favourite language
of some vim's random user is not going to happen.
That is obvious. The point was the question why the OP named
language X and not Y for this.
Yakov
--
For robots (please don't mail me there):
On 4/24/07, Bram Moolenaar [EMAIL PROTECTED] wrote:
Multi-line matches are not always displayed correctly. A match is
searched for in the line where redrawing starts, which can be anywhere.
Your pattern only matches when redrawing starts at or before line 4078.
Maybe we need a pattern that
Nikolai Weibull schrieb:
On 4/24/07, Andy Wokula [EMAIL PROTECTED] wrote:
Thomas schrieb:
So maybe one could make vimscript search a variable foo as l:foo,
a:foo,
(maybe also: w:foo, b:foo), s:foo, g:foo, and then throw an undefined
variable name error if none exists. Or so.
Don't
On 4/24/07, Gregory Seidman [EMAIL PROTECTED] wrote:
In fact, what I'm asking it
to do currently rarely takes much time, but it could be really nice to ask
it to do a lot more and still not pay a huge time or memory penalty.
What plugins/functionality are we missing that require better
On 4/24/07, Yakov Lerner [EMAIL PROTECTED] wrote:
Besides C and descentants, no other language treats function parameters
as local variables.
What am I missing?
* You can assign to parameters in most languages.
* You don't prefix parameters in some manner in most languages.
* A parameter
Nikolai Weibull wrote:
On 4/24/07, Andy Wokula [EMAIL PROTECTED] wrote:
Nikolai Weibull schrieb:
On 4/24/07, Andy Wokula [EMAIL PROTECTED] wrote:
Thomas schrieb:
So maybe one could make vimscript search a variable foo as l:foo,
a:foo,
(maybe also: w:foo, b:foo), s:foo, g:foo, and then
Nikolai Weibull wrote:
On 4/24/07, Gregory Seidman [EMAIL PROTECTED] wrote:
In fact, what I'm asking it
to do currently rarely takes much time, but it could be really nice
to ask
it to do a lot more and still not pay a huge time or memory penalty.
What plugins/functionality are we missing
38 matches
Mail list logo