Nano is the editor I use in command prompts.
When I open a large file I would like to search for some text (think Ctrl + F).
Is there a way to do this?
Nano is the editor I use in command prompts.
When I open a large file I would like to search for some text (think Ctrl + F).
Is there a way to do this?
Ctrl + W is the shortcut for searching. The same effect can be achieved by pressing the F6 key. After entering the search term, press Enter. To repeat the search, issue Alt + W, and to search the previous occurrence, press Alt + Q. In this menu, you can select earlier searches using the arrow up/ down keys.
To toggle backwards searching, you need to press Alt + B in the search dialog.
For more shortcuts, press F1
CTRL+W and find your text in nano
Nano Basics Guide
Yep, it's just help page below. For those who see this message [ Sorry, support for this function has been disabled ] instead of nano help page
You can search for text in nano using Ctrl W.
Alt W (or Esc, W) will repeat the find. (Alternatively, leaving the box blank will default to the last text searched for.)
Pressing Ctrl R while in the Find prompt will activate Replace mode.
As of nano 2.8.2 (May 2017), searching also works in nano's Ctrl G help screen.