Walter Cazzola wrote:
>
> On Thu, 31 Aug 2006, Akria Sheng wrote:
>
>> Yes, I am using latin1 encoding. The linux which I use don't install any
>> function about chinese.
>> So the environment is english only. But I am not sure there is other
>> strange
>> configuration to make this mistake. I
A.J.Mechelynck wrote:
>
> Akria Sheng wrote:
>>
>>
>> A.J.Mechelynck wrote:
>>> Akria Sheng wrote:
A.J.Mechelynck wrote:
> Akria Sheng wrote:
>> I have got one error to crash vim.
>> It happened when meet the following condition:
>>A. must in Linux(solaris and winxp is
A new version of lookupfile plugin is available for download at the
below location:
http://www.vim.org/scripts/script.php?script_id=1581
This is a bugfix release. Please send me any feedback you have.
--
Thanks,
Hari
__
Do You Yahoo!?
Tired of s
I just found out that Vim checks the wrong buffer for 'modifiable' flag
while doing a :diffput. I have two buffers being diffed, with the left
one set to 'nomodifiable', and the right one set to 'modifiable', and
when I try to :diffput from left to right, it complains that it can't be
done. When I
On 2006-08-31, Bruce Korb <[EMAIL PROTECTED]> wrote:
> Diwaker Gupta wrote:
> > And 'vim -u NONE' doesn't work for you?
>
> alias vi='vim -u NONE'
>
> OK. That works. Can't that be done with something a little more
> obvious in ~/.vimrc ?? So, I'll burn that in my brain and not be
> bothered a
On Thu, 31 Aug 2006, Tim Chase apparently wrote:
> There's always "ed"...
> -more ubiquitous in its presence
> -consistent in its behavior
> -powerful
> -tools like "diff" interoperate with it
> -it can be used on a slow TTY
> -can be used on with a one-line display
> -smaller executable s
Bruce Korb wrote:
Diwaker Gupta wrote:
And 'vim -u NONE' doesn't work for you?
alias vi='vim -u NONE'
OK. That works. Can't that be done with something a little more
obvious in ~/.vimrc ?? So, I'll burn that in my brain and not be
bothered anymore. Thank you all. Bruce
"Something a li
>If both programs can access a common clipboard, use it. Vim knows it as
>the + register. So, for instance, to yank three lines to the clipboard:
> "+3yy
>and to paste the clipboard before the cursor:
> "+P
>etc.
Kewl, I'll have to remember that, too.
If distributions were to normally install it, that would be
fine. Installing my own vi is way over the top for what my
needs ought to require. Surely getting vim to act like a
plain text editor cannot be _that_ hard!!!
[tongue in cheek]
There's always "ed"...
-more ubiquitous in its presence
>I've a little problem, I do remote box A with console A using putty
>(under MS) then using vim open file A, I do copy a line with yy in
>file A, so I do remote to box B with console B using putty (under MS),
>then open file B, the question how to do paste to file B in console B
>without mouse (I d
Diwaker Gupta wrote:
And 'vim -u NONE' doesn't work for you?
alias vi='vim -u NONE'
OK. That works. Can't that be done with something a little more
obvious in ~/.vimrc ?? So, I'll burn that in my brain and not be
bothered anymore. Thank you all. Bruce
Bruce Korb wrote:
Hi,
I'd like to use a plain text editor.
I don't want any surprises.
I don't want it to think it understands language syntax.
I don't want it to colorize things.
I don't want it to do anything at all for me, unless I explicitly
say it is okay for it to do so.
In short, I want
Michael Hernandez wrote:
you might try nvi?
http://www.bostic.com/vi/
Mike
$ type nvi
ksh: type: nvi: not found
Hi Mike,
If distributions were to normally install it, that would be fine.
Installing my own vi is way over the top for what my needs ought
to require. Surely getting vim to act
alone, please. I want it all turned off. I have been unable
to find a simple way to do that. Or even any way to do that,
because I have not found any way at all to turn off the
``you must want this line prefixed with a double slash''
feature. Help! Suggestions, please? Thank you! - Bruce
A
On Aug 31, 2006, at 3:19 PM, Bruce Korb wrote:
Hi,
I'd like to use a plain text editor.
I don't want any surprises.
I don't want it to think it understands language syntax.
I don't want it to colorize things.
I don't want it to do anything at all for me, unless I explicitly
say it is okay for
Hi,
I'd like to use a plain text editor.
I don't want any surprises.
I don't want it to think it understands language syntax.
I don't want it to colorize things.
I don't want it to do anything at all for me, unless I explicitly
say it is okay for it to do so.
In short, I want vi. Except Linux d
[EMAIL PROTECTED] wrote:
Hey Vimmers,
after reading through a thread earlier on sourcing commands from a file
i did a little experimentation with :normal. If given the line:
test this line
^
with the cursor at the carat and you do :normal vf'df'D nothing is deleted and
you are left in norma
Sorry for the added reply, but this is indeed very interesting. I get
the same results from recording:
qqvf'df'Dq -- does what you expect executing all commands
@q -- behaves like :normal vf'df'D and stops executing after
f'
:normal f' is another example where the are ne
If you do :normal vfld then what happens is what you expect. So, my
guess is that the "script" is simply stopped when f' doesn't do
anything. I.e. there is no ' so f' errs and the rest of the command is
terminated.
That's just my *guess*, though.
Chuck
-Original Message-
From: [EMAIL
Hey Vimmers,
after reading through a thread earlier on sourcing commands from a file
i did a little experimentation with :normal. If given the line:
test this line
^
with the cursor at the carat and you do :normal vf'df'D nothing is deleted and
you are left in normal mode. If on the other ha
On 8/31/06, Boris Dinkevich <[EMAIL PROTECTED]> wrote:
Hello Yakov
I have tried to configure manualy, but to not avail.
(By the way, I have KDE)
You are probably missing gtk2 development libraries. On fedora,
package name is gtk2-devel. On your Linux, I don't know
Yakov
Tried compiling
Hi,
I use Vim and Quickfix to compile C++ programs. I have set
let &makeprg='g++ -o %< %'
as the compiler. My problem is that while compiling, vim goes to
the console, distracting me. I don't need the console, if I use
Quickfix! I would like it to stay in the buffer window.
I m
Boris Dinkevich wrote:
Hello everyone,
I am using Mandrake 9.2 and have recently upgraded from Vim6 to 7.
Unfortunately after the update, the look&feel changed, I was able to
restore
most of the settings but am unable to restore the font configuration.
My font was similar (or the same) to "Mo
I have a set of quotes that I download as a .html file and then
manipulate. I use a file called data.vim to do everything I need.
I run the file in Vim with the command :so data.vim
Here is an example from the file:
:e ~/Desktop/sf.html
:v/String('/d
:execute "norm vf'df'D"
:%s/|/\r/g
:%!so
Dnia czwartek, 31 sierpnia 2006 13:09, Thomas napisał:
> > This is wrong. You need:
> > let col = col(".")
> > let line = strpart(getline("."), col - 1)
>
> Unfortunately, IIRC this doesn't work with wrapped lines which is why I
> chose virtcol() ... But, well can't reprodu
Boris Dinkevich wrote:
Hello,
I have used the AAP utility for installation.
Is there a way to reconfigure & recompile for GTK2 (a howto/help perhaps)
Thanks alot for your help
Boris
[...]
Configure will select the GTK2 GUI by default, provided that:
a) it is installed, including "development"
Hello Yakov
I have tried to configure manualy, but to not avail.
(By the way, I have KDE)
Tried compiling with: --enable-gui=gtk2
but when I try to start gvim I get the following error:
E25: GUI cannot be used: Not enabled at compile time
PS. I am not sure how I can start the old gvim (if its
I've got a situation similar to the following:
augroup A
autocmd BufWritePre [stuff that changes the buffer before writing]
augroup END
augroup B
autocmd BufWritePre [stuff that changes the buffer before writing]
autocmd BufWritePost undo
augroup END
Obviously, in group A I'm try
Mike Blonder wrote:
I have saved a file called 'commands.' This file has all of the
commands (g /foobar/,/goobar/ d, etc) I need to edit some very large
files. I want to 'run' this commands file from within each of the large
files that I need to edit.
1) do I have to chmod 'commands' as an
Hi.
I have saved a file called 'commands.' This file has all of the
commands (g /foobar/,/goobar/ d, etc) I need to edit some very large
files. I want to 'run' this commands file from within each of the large
files that I need to edit.
1) do I have to chmod 'commands' as an executable?
2) can
Thomas wrote:
Hi,
In a plugin on mine, I have the following lines:
let col = virtcol(".")
let line = strpart(getline("."), col - 1)
The idea is to get the line right of the cursor including the character
under the cursor. This works fine for latin1 encoding but yields
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All
I'd like to be able to edit an encrypted plain text file using vim.
It's blowfish encoded with openssl. I noticed right away that the
contents
could end up in .viminfo, so I started doing some research.
I looked at these pages
htt
On 8/31/06, Boris Dinkevich <[EMAIL PROTECTED]> wrote:
Hello,
I have used the AAP utility for installation.
Is there a way to reconfigure & recompile for GTK2 (a howto/help perhaps)
aap downloaded all sources whcih contain, among other things,
configure script. Go to the directory of sources a
On Thu, 31 Aug 2006, Akria Sheng wrote:
Yes, I am using latin1 encoding. The linux which I use don't install any
function about chinese.
So the environment is english only. But I am not sure there is other strange
configuration to make this mistake. I have tried to change some options
include gu
Hello,
I have used the AAP utility for installation.
Is there a way to reconfigure & recompile for GTK2 (a howto/help perhaps)
Thanks alot for your help
Boris
On 8/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 8/31/06, Boris Dinkevich <[EMAIL PROTECTED]> wrote:
>
>>
the interpreter executes code between , and doesn't output it's
content, but outputs everything else in the file. The BOM marks are
located *before* the
Also, if you are using multiple PHP files that include each other, a
BOM will be sent for every PHP file you are including, which will
return i
Great. Thanks!
josh
On 8/31/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
Josh D wrote:
>
> when I have multiple tabs opened and I run some shell command (eg:
> !ls), then all tabs where only netrw is running are closed. How can I
> prevent that?
>
> Versions:
> vim: 7.0-035+0bpo1 (back
On 8/31/06, Boris Dinkevich <[EMAIL PROTECTED]> wrote:
Hello everyone,
I am using Mandrake 9.2 and have recently upgraded from Vim6 to 7.
Unfortunately after the update, the look&feel changed, I was able to restore
most of the settings but am unable to restore the font configuration.
My font wa
Hello everyone,
I am using Mandrake 9.2 and have recently upgraded from Vim6 to 7.
Unfortunately after the update, the look&feel changed, I was able to restore
most of the settings but am unable to restore the font configuration.
My font was similar (or the same) to "Monospace" font as appears i
Yes it does. Take simple example, Create line with 1 high utf-8 char
entering Ctrl-Vu1234 then a.
Ok, you're right as far as col() is concerned. I'm having here some
problems though with enc=utf8 & soft-wrapped lines & showbreak=¦, which
I mistook as being a issue related to col(). The cursor
On 8/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,
When i press , it takes about one second to finish, i.e. switching from
insert into normal mode, or placing the cursor in the buffer window when
escaping from the commandline.
All other things don't seem to create delays.
This do
Try
:echo col('a')
Ooops my mistake. I meant to write:
Try
:echo col('.')
Yakov
Hello,
When i press , it takes about one second to finish, i.e. switching from
insert into normal mode, or placing the cursor in the buffer window when
escaping from the commandline.
All other things don't seem to create delays.
This does not happen in vim 6.2.
Is there something I can try to
On 8/31/06, Thomas <[EMAIL PROTECTED]> wrote:
> This is wrong. You need:
> let col = col(".")
> let line = strpart(getline("."), col - 1)
Unfortunately, IIRC this doesn't work with wrapped lines which is why I
chose virtcol() ... But, well can't reproduce what I did (or
A.J.Mechelynck wrote:
it may be that the "headers" you talk about must be in 7-bit US-ASCII:
in that case it might be simplest to edit the headers as a separate
file with
These headers I talk about are HTTP headers, and according to protocol,
they should be sent out to the client *before* any c
Hello,
when I have multiple tabs opened and I run some shell command (eg:
!ls), then all tabs where only netrw is running are closed. How can I
prevent that?
Versions:
vim: 7.0-035+0bpo1 (backport on debian-sarge)
netrw: v98 and also 102
Thank you
josh
Yakov Lerner wrote:
:e ++enc=utf-8 file
Thanks, it seems to work.
Peter
This is wrong. You need:
let col = col(".")
let line = strpart(getline("."), col - 1)
Unfortunately, IIRC this doesn't work with wrapped lines which is why I
chose virtcol() ... But, well can't reproduce what I did (or thought
that I did) 10 minutes ago. Anyway, it doe
Walter Cazzola wrote:
>
> On Thu, 31 Aug 2006, Akria Sheng wrote:
>
>> Dear Tony,
>> I have update the netrw to version 102, but it still happened.
>> The two line are changed to be 4424 & 4426.
>> When I comment the two line again, vim open the fileexplorer success.
>
> just my 2¢, are you u
On 8/31/06, Thomas <[EMAIL PROTECTED]> wrote:
Hi,
In a plugin on mine, I have the following lines:
let col = virtcol(".")
let line = strpart(getline("."), col - 1)
This is wrong. You need:
let col = col(".")
let line = strpart(getline("."),
Hi,
In a plugin on mine, I have the following lines:
let col = virtcol(".")
let line = strpart(getline("."), col - 1)
The idea is to get the line right of the cursor including the character
under the cursor. This works fine for latin1 encoding but yields wrong
results
Péter Zsoldos wrote:
Greetings,
I'm using gVim 6.3 on Windows Xp Sp2 and I ran into a problem that I
need to edit files with UTF-8 encoding, but I just can't get VIM to do
so. If I create utf-8 encoded files in notepad, VIM accepts this, but
places the BOM into the file. This BOM causes me a
On 8/31/06, Péter Zsoldos <[EMAIL PROTECTED]> wrote:
Greetings,
I'm using gVim 6.3 on Windows Xp Sp2 and I ran into a problem that I
need to edit files with UTF-8 encoding, but I just can't get VIM to do
so. If I create utf-8 encoded files in notepad, VIM accepts this, but
places the BOM into th
On Thu, 31 Aug 2006, Akria Sheng wrote:
Dear Tony,
I have update the netrw to version 102, but it still happened.
The two line are changed to be 4424 & 4426.
When I comment the two line again, vim open the fileexplorer success.
just my 2¢, are you using a latin encode? I have noted your addres
Akria Sheng wrote:
A.J.Mechelynck wrote:
Akria Sheng wrote:
A.J.Mechelynck wrote:
Akria Sheng wrote:
I have got one error to crash vim.
It happened when meet the following condition:
A. must in Linux(solaris and winxp is OK)
B. vim7.0(6.4 is ok)
C. open one huge file(exceed 368710
Greetings,
I'm using gVim 6.3 on Windows Xp Sp2 and I ran into a problem that I
need to edit files with UTF-8 encoding, but I just can't get VIM to do
so. If I create utf-8 encoded files in notepad, VIM accepts this, but
places the BOM into the file. This BOM causes me a lot of problems,
sinc
A.J.Mechelynck wrote:
>
> Akria Sheng wrote:
>>
>> A.J.Mechelynck wrote:
>>> Akria Sheng wrote:
I have got one error to crash vim.
It happened when meet the following condition:
A. must in Linux(solaris and winxp is OK)
B. vim7.0(6.4 is ok)
C. open one huge fi
Akria Sheng wrote:
A.J.Mechelynck wrote:
Akria Sheng wrote:
I have got one error to crash vim.
It happened when meet the following condition:
A. must in Linux(solaris and winxp is OK)
B. vim7.0(6.4 is ok)
C. open one huge file(exceed 368710 bytes) then type ":sp ./"
In general, it
On 8/30/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
A session is not only a number of settings, it's also one or more
editfiles etc. To make a session forget all that makes it a session, use
:qa
followed by
vim
or
gvim
(the latter may be entered in an Alt-F2 popu
A.J.Mechelynck wrote:
>
> Akria Sheng wrote:
>> I have got one error to crash vim.
>> It happened when meet the following condition:
>>A. must in Linux(solaris and winxp is OK)
>>B. vim7.0(6.4 is ok)
>>C. open one huge file(exceed 368710 bytes) then type ":sp ./"
>>
>>In general
60 matches
Mail list logo