[prev in list] [next in list] [prev in thread] [next in thread]
List: vim
Subject: Re: Re: Jump within function
From: kbosau () web ! de
Date: 2002-10-31 11:02:40
[Download RAW message or body]
On 31 Oct 2002 at 9:56, Antoine J. Mechelynck wrote:
> kbosau@web.de wrote:
>
> [...]
>
> / searches from the cursor on. I suggest you prepend the string in your
> "normal" command with gg to first go to the start of the file.
I tried
:execute normal "gg/^><Cr>"
in the function body but it didn't work.
Typing the commands
:normal gg/^>
or
:normal "gg/^>"
didn't work too, but typing
gg/^> + Return
in Normal Mode works fine, but my problem
is to achieve this by calling a function.
Any idea?
Thanks!
Klaus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic