/[string]
|
/extern
|
Searches forward through the current file, from the line after the current line, for string. In the example, the cursor will jump forward to the word extern. You can then find more occurrences of this word by repeatedly entering the forward slash (/). In GUI mode, the fsearch command works similarly to /, but also highlights string in the source pane.
|
?[string]
|
?extern
|
Searches backwards for string from the line before the current line. In the example, the cursor will jump backward to the word "extern." You can then find more occurrences of this word, going backwards, by repeatedly entering the question mark (?). In GUI mode, the bsearch command acts similarly to ?, but also highlights string in the source pane.
|