Hello all,
I just wanted to let you know that I am back on the vim and
vim-dev mailinglists. I won't have time to write many mails, but
my colleagues at work started to ask me a lot of questions about
vim when they found out that I wrote syn on and colorscheme
koehler in root's vimrc of all
[...]
You could use a Search/Replace on the full text. This does end up
modifying your base text, so be sure to only use it on modifiable buffers.
For example:
- all lines containing the char : followed with zero or more then one
space(s) and then in
should become: untouched what is here:
May be what you need is:
:help cinoptions-values
if you are using cindent
Regards,
Dimitar
* Eric Leenman [EMAIL PROTECTED] [070406 08:10]:
Hi,
Is it possible to redefine (or adjust) some of the indent markers.
I have code containing ( at the end
I.e:
port map (
aa = bb,
cc = dd);
On Fri, 06 Apr 2007 05:52:33 +, Eric Leenman
[EMAIL PROTECTED] wrote:
:%s/:\s\+in/: in/g
This works for all lines containing one or more spaces.
Why doesn't it work for lines which have no space between : and in?
Use :%s/:\s*in/: in/g instead (replace the \+ with *: \+ means one
or
-邮件原件-
发件人: Jean-Rene David [mailto:[EMAIL PROTECTED]
发送时间: 2007年4月6日 :00:09
收件人: Vim
主题: Re: How to open a BIG file quickly?
* Tom Purl [2007.04.05 12:00]:
I need to do that quite often. They are usually
log files from a long running program in debug
mode.
Actually,
Hi,
is there a way to do this more effectively?
I often get in the situation of yanking a word
into the buffer, search another word I want to
replace with the contents of the buffer, delete
the found word and paste the contents of the buffer
at the place of the previously found word.
What I do is
ye yank
/word search
vep paste
Gruss,
Dimitar
* [EMAIL PROTECTED] [EMAIL PROTECTED] [070406 09:00]:
Hi,
is there a way to do this more effectively?
I often get in the situation of yanking a word
into the buffer, search another word I want to
replace with the
A search and replace would be of course sometimes better:
:%s/old_word/new_word/gc
:help :s
:help s_flags
Dimitar
* [EMAIL PROTECTED] [EMAIL PROTECTED] [070406 09:00]:
Hi,
is there a way to do this more effectively?
I often get in the situation of yanking a word
into the buffer,
On 2007-04-06, [EMAIL PROTECTED] wrote:
Hi,
is there a way to do this more effectively?
I often get in the situation of yanking a word
into the buffer, search another word I want to
replace with the contents of the buffer, delete
the found word and paste the contents of the buffer
Hi,
as already remarked in Tip #102, the provided versions do
not handle UTF-8 characters correctly. As it is not possible
to add a tip note currently, I post my new version here.
function InsertMatch( direction)
if match(getline( '.'),'\k\%'.virtcol('.').'v') = 0
let dir =
Hi,
Is a compiler plugin for the ARM compiler (armcc) already available?
(Couldn't find it in the Vim site)
I am basically looking for the errorformat for the ARM compiler.
Regards,
Sibin
DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before
On 4/6/07, Taylor Venable [EMAIL PROTECTED] wrote:
On Wed, 4 Apr 2007 10:22:43 -0400
Yakov Lerner [EMAIL PROTECTED] wrote:
On 4/4/07, wangxu [EMAIL PROTECTED] wrote:
ESC is so far from the center of the keyboard.
Can I replace this key to Caps Lock,for example?
I heard some people use
Let's say I open up a webpage, select some text and paste it into vim.
Then
all I see in vim is the text I see on the browser. While this is OK
most of
the times, sometimes I wish there is a way to paste the actual HTML
code
directly into the vim.
Selecting view source of the webpage and then
Gene Kwiecinski wrote:
Let's say I open up a webpage, select some text and paste it into vim.
Then
all I see in vim is the text I see on the browser. While this is OK
most of
the times, sometimes I wish there is a way to paste the actual HTML
code
directly into the
Reid Thompson wrote:
Gene Kwiecinski wrote:
Let's say I open up a webpage, select some text and paste it into vim.
Then
all I see in vim is the text I see on the browser. While this is OK
most of
the times, sometimes I wish there is a way to paste the actual HTML
code
directly into the
This is a clipboard thing - windows for instance copies stuff in many forms and
pastes it in the form most acceptable to the receiving app - plaintext for vim,
html/rtf for a word processor... Dunno if there's a way for vim to say gimme
html.
I would try looking at your browser. In firefox,
Has anyone else heard of the vi name game?
I was talking to an old crusty developer, and he said they used to
open a random (unimportant) text file in vi. Then before typing in
their name (and only their name, no going into insert mode first),
they would have to guess what their name would tell
On 4/5/07, Chuck Mason [EMAIL PROTECTED] wrote:
/nodefaultlib:python24.lib
That's 2.4 right?
The point is that vim.command() is not thread-safe. I tried this in
pearl (5.8) as well with the same result. Except that perl's VIM::Msg
works in a thread (albeit things seem unstable) and
Max: insert an 'x' on the line in the middle of the current buffer
Dyckhoff: delete to end of line and insert ff on a new line above ('k' goes
up a line, 'o' starts insertion on new line below)
:)
I think it would be fun to find a real name which did something actually
interesting in vim.
Max
In Firefox, you can select some part of the text, right-click on it and
one of the options is view selection source - like view source but
the relevant piece of it is already selected. That's a decent way of
replacing find-next in the source view.
Ooh, ooh, what he said...
I'm so in the habit of
For some reason, even if you set up vim as your source editor, view selection
source still opens in firefox's default viewer... sux
-Original Message-
From: Gene Kwiecinski [mailto:[EMAIL PROTECTED]
Sent: Friday, April 06, 2007 12:43 PM
To: Vincent BEFFARA; vim@vim.org; Kamaraju S
Hi,
I did th3 follwing: With a program, which generates random numbers in
different formats, I created a file, which consists of _one_ line of
2097152 characters (0-9,A-F).
To split the line into lines of 72 characters each, I started vim and
let it read the file.
I postioned the cursor
On piątek 06 kwiecień 2007, vim@vim.org wrote:
Has anyone else heard of the vi name game?
Sure :)
Mikolaj just inserts kolaj at the beginning of middle line of screen.
m.
On piątek 06 kwiecień 2007, vim@vim.org wrote:
After looking at foldutil.vim and AutoFold.vim I'm not sure what the
best way is going to be for exploiting the outline format of helpfiles
to automatically create folds.
Has anyone done this before? Ideally, I'd like to use this with the
brendon i lucked out, i just got errors :)
Jason joins the current line and the next, then insert son before
the start of the appended line.
Gene Kwiecinski wrote:
In Firefox, you can select some part of the text, right-click on it and
one of the options is view selection source - like view source but
the relevant piece of it is already selected. That's a decent way of
replacing find-next in the source view.
Wow! This is indeed
I did th3 follwing: With a program, which generates random
numbers in different formats, I created a file, which consists
of _one_ line of 2097152 characters (0-9,A-F).
To split the line into lines of 72 characters each, I started
vim and let it read the file.
I postioned the cursor at position
On 4/6/07, Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote:
Gene Kwiecinski wrote:
In Firefox, you can select some part of the text, right-click on it and
one of the options is view selection source - like view source but
the relevant piece of it is already selected. That's a decent way of
On 4/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I did th3 follwing: With a program, which generates random numbers in
different formats, I created a file, which consists of _one_ line of
2097152 characters (0-9,A-F).
To split the line into lines of 72 characters each, I started
The problem I have with my kind of splitting a line is not that it
does not work -- it is the deadly side effect it caused.
My opinion is, that it should not be possible to kill a system
(...too big words, I know, but...) by simply submitting
a sub-optimal command to a text editor.
As you
On 4/6/07, Yakov Lerner [EMAIL PROTECTED] wrote:
... It took vim ~4 minutes to split ~100 lines.
Typo here. This should have been:
It took vim ~4 minutes to split ~1000 lines.
On 4/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Yakov the vim healer Lerner :)
memory size is 2GB Dual channel RAM, swap is 1G...
For me it is not a problem to fail with one task
(splitting a long line)...there are always
better solutions to discover on UNIX systems... :))
The
On 4/6/07, Mikolaj Machowski [EMAIL PROTECTED] wrote:
On piątek 06 kwiecień 2007, vim@vim.org wrote:
Has anyone else heard of the vi name game?
Sure :)
Mikolaj just inserts kolaj at the beginning of middle line of screen.
m.
I didn't know about the M command. I never needed it before. I
Yakov (without quotes) inserts kov after the 1st
char.
Now, who won ?
On 4/6/07, Yakov Lerner [EMAIL PROTECTED] wrote:
On 4/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I did th3 follwing: With a program, which generates random numbers in
different formats, I created a file, which consists of _one_ line of
2097152 characters (0-9,A-F).
To split
On piątek 06 kwiecień 2007, vim@vim.org wrote:
On 4/6/07, Mikolaj Machowski [EMAIL PROTECTED] wrote:
On piątek 06 kwiecień 2007, vim@vim.org wrote:
Has anyone else heard of the vi name game?
Sure :)
Mikolaj just inserts kolaj at the beginning of middle line of
screen.
I didn't
[EMAIL PROTECTED] wrote:
Hi,
I did th3 follwing: With a program, which generates random numbers in
different formats, I created a file, which consists of _one_ line of
2097152 characters (0-9,A-F).
To split the line into lines of 72 characters each, I started vim and
let it read the file.
Yakov Lerner wrote:
On 4/6/07, Yakov Lerner [EMAIL PROTECTED] wrote:
On 4/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I did th3 follwing: With a program, which generates random numbers in
different formats, I created a file, which consists of _one_ line of
2097152 characters
Hello all,
I just wanted to let you know that I am back on the vim and
vim-dev mailinglists. I won't have time to write many mails, but
my colleagues at work started to ask me a lot of questions about
vim when they found out that I wrote syn on and colorscheme
koehler in root's vimrc of all
40 matches
Mail list logo