Create searching section in readme

This commit is contained in:
syl20bnr 2014-11-04 22:28:49 -05:00
parent dea7d559d1
commit 55d03c12a5

View file

@ -74,9 +74,12 @@ for contribution guidelines_
- [Ido](#ido)
- [NeoTree file tree](#neotree-file-tree)
- [Bookmarks](#bookmarks)
- [Symbols](#symbols)
- [Listing symbols by semantic](#listing-symbols-by-semantic)
- [Auto-highlight and edition](#auto-highlight-and-edition)
- [Searching](#searching)
- [Persistent highlighting](#persistent-highlighting)
- [Auto-highlight symbols](#auto-highlight-symbols)
- [Visual Star](#visual-star)
- [Listing symbols by semantic](#listing-symbols-by-semantic)
- [Helm-swoop](#helm-swoop)
- [Window manipulation](#window-manipulation)
- [Golden ratio](#golden-ratio)
- [Text manipulation commands](#text-manipulation-commands)
@ -917,18 +920,15 @@ Key Binding | Description
To save a new bookmark, just type the name of the bookmark and press `RET`.
#### Symbols
### Searching
##### Listing symbols by semantic
#### Persistent highlighting
Use `helm-semantic-or-imenu` command from `Helm` to quickly navigate between
the symbols in a buffer.
`Spacemacs` uses `evil-search-highlight-persist` to keep the searched expression
highlighted until the next search. It is also possible to clear the
highlighting by pressing `<SPC> s c`.
To list all the symbols of a buffer press:
<SPC> s l
##### Auto-highlight and edition
#### Auto-highlight symbols
`Spacemacs` supports auto highlighting of the current symbol (provided by the
[auto-highlight-symbol][auto-highlight] mode) and add a micro-state to it
@ -978,6 +978,26 @@ Where `<M> [x/y]*` is:
- `*`: appears if there is at least one occurrence which is not currently
visible.
#### Visual Star
With [evil-visualstar][] you can search for the next occurrence of the current
selection.
It is pretty useful combined with the [expand-region](#region-selection)
bindings.
_Note:_ If the current state is not the `visual state` then pressing `*` uses
[auto-highlight-symbol](#auto-highlight-symbols) and its micro-state.
#### Listing symbols by semantic
Use `helm-semantic-or-imenu` command from `Helm` to quickly navigate between
the symbols in a buffer.
To list all the symbols of a buffer press:
<SPC> s l
#### Helm-swoop
This is very similar to `moccur`, it displays a `helm` buffer with all the
@ -1091,7 +1111,7 @@ Spell checking commands start with `S`:
### Region selection
Vi `Visual` modes are all supported by `evil`, `Spacemacs` adds another
`Visual` mode via the [expand-region][expand-region] mode.
`Visual` mode via the [expand-region][] mode.
Key Binding | Description
--------------|----------------------------------------------------------------