Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isearch-repeat-forward? #130

Open
incandescentman opened this issue May 21, 2023 · 3 comments
Open

isearch-repeat-forward? #130

incandescentman opened this issue May 21, 2023 · 3 comments

Comments

@incandescentman
Copy link

How do I repeat the search to find the next match?

When I do s-g (bound to isearch-repeat-forward), it gives me "s-g is undefined". And I don't see a function like ctrlf-repeat-forward.

@incandescentman
Copy link
Author

I figured it out. The function is called ctrlf-next-match.

(define-key ctrlf-mode-map (kbd "s-g") 'ctrlf-next-match)

@incandescentman
Copy link
Author

incandescentman commented May 22, 2023

Is there a way to run ctrlf-next-match AFTER exiting out of ctrl-f? I routinely do isearch-forward, exit out of search, make edits, and then run isearch-repeat-forward to go to the next match.

In ctrlf, when I do ctrlf-forward-default, then hit RETURN to exit and make edits... then when I do ctrlf-next-match, it has no effect. Would I then have to do start over with ctrlf-forward-default and type the search term all over again?

@raxod502
Copy link
Member

Does C-s C-s do what you want?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants