Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Handle less search navigation shortcuts after hitting enter in search bar #601

Open
aalexgabi opened this issue Feb 20, 2017 · 4 comments
Open

Comments

@aalexgabi
Copy link

What do you think about handling less search navigation shortcuts after hitting enter in search bar?

  • n - go to next search result
  • Shift + n - go to previous search result
  • Shift + P - go to the begining
@Explorer09
Copy link
Contributor

n and Shift+n will collide with "Append n or N to the search query string". I don't think that's possible.

@aalexgabi
Copy link
Author

@Explorer09 Not AFTER hitting enter in the search bar:

  • Press F3
  • Type search query
  • Press enter (now first line should be selected)
  • Press n or Shift + n to navigate to other processes matching the search query

@Explorer09
Copy link
Contributor

@aalexgabi
Even with that, top has allocated 'n' and 'N' for other purposes now ('n'= set maximum number of processes to display in list; 'N'= sort process list by PID). Introducing them in htop can cause user confusion.

@Explorer09
Copy link
Contributor

@aalexgabi
By the way, top uses '&' for this "locate next occurrence of search query" purpose.

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

No branches or pull requests

2 participants