Andy Wokula schrieb:
Tim Chase schrieb:
How can I move the cursor the start of the visual selection?
With the "o" command, yes. But how can I make sure the cursor
is at the start while visual mode is on? The "`<" motion
followed by "gv" sets the cursor back to the end if it was
there.
I thin
Tim Chase schrieb:
>> vnoremap gt `>:exec 'norm '.visualmode().'`'
>> vnoremap gb `:exec 'norm '.visualmode().'`>'
>
> I don't understand why this works.
>
> There must be a difference between
> `>v`<
> and
> :normal `>v`<
>
> "v" defines a new visual area and overwrites the `<
>> vnoremap gt `>:exec 'norm '.visualmode().'`'
>> vnoremap gb `:exec 'norm '.visualmode().'`>'
>
> I don't understand why this works.
>
> There must be a difference between
>`>v`<
> and
>:normal `>v`<
>
> "v" defines a new visual area and overwrites the `<,`>
> markers. Why does "`<" aft
Tim Chase schrieb:
How can I move the cursor the start of the visual selection?
With the "o" command, yes. But how can I make sure the cursor
is at the start while visual mode is on? The "`<" motion
followed by "gv" sets the cursor back to the end if it was
there.
I think it sounds like you w
Tim Chase schrieb:
How can I move the cursor the start of the visual selection?
With the "o" command, yes. But how can I make sure the cursor
is at the start while visual mode is on? The "`<" motion
followed by "gv" sets the cursor back to the end if it was
there.
I think it sounds like you w
Hi Bill,
On 2/1/07, Bill McCarthy <[EMAIL PROTECTED]> wrote:
On Thu 1-Feb-07 11:51am -0600, Tim Chase wrote:
> vnoremap gt `>:exec 'norm '.visualmode().'`'
> vnoremap gb `:exec 'norm '.visualmode().'`>'
Why do you use ` instead of just `< ? Just a matter of
preference?
The following text d
>> vnoremap gt `>:exec 'norm '.visualmode().'`'
>> vnoremap gb `:exec 'norm '.visualmode().'`>'
>
> Why do you use ` instead of just `< ? Just a matter of
> preference?
Depending on what follows the
`<
vim may try to interpret it as a character-notation. I prefer
not to have to think
On Thu 1-Feb-07 11:51am -0600, Tim Chase wrote:
> vnoremap gt `>:exec 'norm '.visualmode().'`'
> vnoremap gb `:exec 'norm '.visualmode().'`>'
Why do you use ` instead of just `< ? Just a matter of
preference?
--
Best regards,
Bill
Tim Chase wrote:
vnoremap gt `>:exec 'norm '.visualmode().'`'
vnoremap gb `:exec 'norm '.visualmode().'`>'
which gives you a "Go to the Top" and "Go to the Bottom" mapping
within visual mode.
Won't they move the boundary of the visual area together with the cursor?
Not from my testing...
[
Andy Wokula wrote:
How can I move the cursor the start of the visual selection? With the
"o" command, yes. But how can I make sure the cursor is at the start
while visual mode is on? The "`<" motion followed by "gv" sets the
cursor back to the end if it was there.
I'm afraid that I don't
vnoremap gt `>:exec 'norm '.visualmode().'`'
vnoremap gb `:exec 'norm '.visualmode().'`>'
which gives you a "Go to the Top" and "Go to the Bottom" mapping within
visual mode.
Won't they move the boundary of the visual area together with the cursor?
Not from my testing...
[ed: a hush falls o
Tim Chase wrote:
How can I move the cursor the start of the visual selection?
With the "o" command, yes. But how can I make sure the cursor
is at the start while visual mode is on? The "`<" motion
followed by "gv" sets the cursor back to the end if it was
there.
I think it sounds like you wan
How can I move the cursor the start of the visual selection?
With the "o" command, yes. But how can I make sure the cursor
is at the start while visual mode is on? The "`<" motion
followed by "gv" sets the cursor back to the end if it was
there.
I think it sounds like you want something like t
How can I move the cursor the start of the visual selection? With the
"o" command, yes. But how can I make sure the cursor is at the start
while visual mode is on? The "`<" motion followed by "gv" sets the
cursor back to the end if it was there.
Thx, Andy
--
EOF
14 matches
Mail list logo