Create searching section in readme
This commit is contained in:
parent
dea7d559d1
commit
55d03c12a5
44
README.md
44
README.md
|
@ -74,9 +74,12 @@ for contribution guidelines_
|
||||||
- [Ido](#ido)
|
- [Ido](#ido)
|
||||||
- [NeoTree file tree](#neotree-file-tree)
|
- [NeoTree file tree](#neotree-file-tree)
|
||||||
- [Bookmarks](#bookmarks)
|
- [Bookmarks](#bookmarks)
|
||||||
- [Symbols](#symbols)
|
- [Searching](#searching)
|
||||||
|
- [Persistent highlighting](#persistent-highlighting)
|
||||||
|
- [Auto-highlight symbols](#auto-highlight-symbols)
|
||||||
|
- [Visual Star](#visual-star)
|
||||||
- [Listing symbols by semantic](#listing-symbols-by-semantic)
|
- [Listing symbols by semantic](#listing-symbols-by-semantic)
|
||||||
- [Auto-highlight and edition](#auto-highlight-and-edition)
|
- [Helm-swoop](#helm-swoop)
|
||||||
- [Window manipulation](#window-manipulation)
|
- [Window manipulation](#window-manipulation)
|
||||||
- [Golden ratio](#golden-ratio)
|
- [Golden ratio](#golden-ratio)
|
||||||
- [Text manipulation commands](#text-manipulation-commands)
|
- [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`.
|
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
|
`Spacemacs` uses `evil-search-highlight-persist` to keep the searched expression
|
||||||
the symbols in a buffer.
|
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:
|
#### Auto-highlight symbols
|
||||||
|
|
||||||
<SPC> s l
|
|
||||||
|
|
||||||
##### Auto-highlight and edition
|
|
||||||
|
|
||||||
`Spacemacs` supports auto highlighting of the current symbol (provided by the
|
`Spacemacs` supports auto highlighting of the current symbol (provided by the
|
||||||
[auto-highlight-symbol][auto-highlight] mode) and add a micro-state to it
|
[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
|
- `*`: appears if there is at least one occurrence which is not currently
|
||||||
visible.
|
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
|
#### Helm-swoop
|
||||||
|
|
||||||
This is very similar to `moccur`, it displays a `helm` buffer with all the
|
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
|
### Region selection
|
||||||
|
|
||||||
Vi `Visual` modes are all supported by `evil`, `Spacemacs` adds another
|
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
|
Key Binding | Description
|
||||||
--------------|----------------------------------------------------------------
|
--------------|----------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue