Skip to content

Commit

Permalink
docs: kbuild: Document search jump feature
Browse files Browse the repository at this point in the history
Menuconfig has a feature where you can "press the key in the (#) prefix
to jump directly to that location. You will be returned to the current
search results after exiting this new menu."

This feature is poorly documented,
so add it to the kconfig.rst documentation.

Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
Jesse Taube authored and Masahiro Yamada committed Aug 13, 2023
1 parent 1ba67cd commit 45a7371
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/kbuild/kconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ Searching in menuconfig:
first (and in alphabetical order), then come all other symbols,
sorted in alphabetical order.

In this menu, pressing the key in the (#) prefix will jump
directly to that location. You will be returned to the current
search results after exiting this new menu.

----------------------------------------------------------------------

User interface options for 'menuconfig'
Expand Down Expand Up @@ -262,6 +266,10 @@ Searching in nconfig:
F8 (SymSearch) searches the configuration symbols for the
given string or regular expression (regex).

In the SymSearch, pressing the key in the (#) prefix will
jump directly to that location. You will be returned to the
current search results after exiting this new menu.

NCONFIG_MODE
------------
This mode shows all sub-menus in one large tree.
Expand Down

0 comments on commit 45a7371

Please sign in to comment.