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

find next occurrence in jupyter lab's text editor #3993

Closed
mzhng opened this issue Feb 24, 2018 · 6 comments
Closed

find next occurrence in jupyter lab's text editor #3993

mzhng opened this issue Feb 24, 2018 · 6 comments
Labels
documentation enhancement pkg:fileeditor status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. tag:Search and Replace
Milestone

Comments

@mzhng
Copy link

mzhng commented Feb 24, 2018

Using either the default or sublime text key map, to search something in jupyter lab's text editor I press ctrl+F, type something, press Enter and my cursor goes to the first occurrence. The problem is after that, the search bar disappears and I can't figure out an easy way to jump to the next occurrence. Is there a faster way to jump to the next occurrence other than pressing ctrl+F and Enter again? In many editors, including sublime text, one can just press Enter to go to the next occurrence, but that doesn't work even using the sublime text key map.

@semiamaurotic
Copy link

It seems ctrl + G cycles to the next occurrence, at least with Key Map set to Sublime Text.

@dustinmichels
Copy link

Great! Is there a way to go to previous occurrence?

@fomightez
Copy link

fomightez commented Jul 28, 2018

@dustinmichels It seems to go to the previous occurrence if you add in the shift key.

On Macs the combinations are command key + g key to go to next and command key +shift key +g key to go to previous.

Only learned by looking in Sublime text. I would have expected it to be listed in the command palette. Or maybe when you hover on the search bar in the text editor? These shortcuts probably could be considered with #2637 .

@saulshanabrook
Copy link
Member

This should somehow be visually documented

@agent-jay
Copy link

cmd+g and cmd+shift+g on Mac work for cycling through occurrences, even without the Sublime Text keymap. Good find, thanks!

@jasongrout
Copy link
Contributor

We now have a more comprehensive search functionality which allows you to jump to previous next matches using the keyboard, thanks to #5795.

@jasongrout jasongrout modified the milestones: Future, 1.0 Feb 22, 2019
@lock lock bot added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Aug 8, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation enhancement pkg:fileeditor status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. tag:Search and Replace
Projects
None yet
Development

No branches or pull requests

7 participants