Jerin Joy wrote:
Hi,
I have a vim window open with a file in a terminal. I wanted to copy
some text to another terminal.
FIrst problem is my select. I hit the Ctrl+V to go into visual mode on
a line, then hitting the Shift key and moving up and down does not
select the lines below or above it.
Hi,
Not really a request for help, but I was wondering if you guys ever use
the 's' command.
It's just a shortcut for 'cl', which I almost never need. Since I don't
assume it was put in to be complete or something, I'm intrigued by it's
enigmatic purpose. :)
Thanks,
Wim
Thanks for all the explanations everyone. I do see your points, and will
try to add 's' to my weaponry :)
Wim
On 6/30/06, Wim R. Crols [EMAIL PROTECTED] wrote:
Hi,
Not really a request for help, but I was wondering if you guys ever use
the 's' command.
It's just a shortcut for 'cl', which
Jürgen Krämer wrote:
Hi,
Fabio Rotondo schrieb:
I have a text file with many lines made like this:
[EMAIL PROTECTED]@[EMAIL PROTECTED]@
And I'd like to have them splitted on @ in newlines.
I have tried:
:%s/@/\n/g
but it does not work.
What am I missing?
\n in the second part of
Is there a way to delete all buffers matching a certain pattern?
For example, suppose I just read in all files in a directory and this is
my buffer list:
1 a.txt
2 b.txt
3 1.exe
4 2.exe
5 c.txt
6 3.exe
7 d.txt
I want to do something like :bdelete *.exe.
I don't want to manually enumerate all
[EMAIL PROTECTED] wrote:
What is the easiest way to edit a file that is in the same directory as
the current file? E.g. I open a file like this: vim /x/y/z/w/file1.c and
want to now open /x/y/z/w/file2.c? Occasionally want to open files in
the parent directory of current file's directory. It
Hi,
How can I apply a macro on a set of selected lines? I have a simple
mapping under F4 (aligment of '=' on the same column, but it's not
really important)
:map F4 0f=60i EscD60Barp
and I want to execute it for every line in a Visual Line selection. I
tried this
:','normal F4
But there
A.J.Mechelynck wrote:
Wim R. Crols wrote:
Hi,
How can I apply a macro on a set of selected lines? I have a simple
mapping under F4 (aligment of '=' on the same column, but it's not
really important)
:map F4 0f=60i EscD60Barp
and I want to execute it for every line in a Visual Line
Thomas Michael Engelke wrote:
Sometimes, I have to align statements in a large assign-statement
like this:
assign
var1 =
var2 =
.
I block-yank a block containing, left-upper, v of var1, right-lower 2
of var2, to insert both variable names after the equal-signs. So my
cursor stands in the