1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-26 15:50:04 +08:00
SpaceVim/docs/layers/foldsearch.md
2020-04-26 18:49:22 +08:00

30 lines
694 B
Markdown

---
title: "SpaceVim foldsearch layer"
description: "This layer provides functions that fold away lines that don't match a specific search pattern."
---
# [Available Layers](../) >> foldsearch
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Key bindings](#key-bindings)
<!-- vim-markdown-toc -->
## Description
This layer provides functions that fold away lines that don't match a specific search pattern.
The search pattern can be a word or a regular expression. To enable this layer:
```toml
[layers]
name = "foldsearch"
```
## Key bindings
| Key bindings | Description |
| ------------ | --------------------- |
| `SPC F w` | foldsearch input word |