1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:20:06 +08:00
SpaceVim/docs/layers/edit.md
2021-04-10 20:10:16 +08:00

33 lines
776 B
Markdown

---
title: "SpaceVim edit layer"
description: "Improve code edit expr in SpaceVim, provide more text objects."
---
# [Available Layers](../) >> edit
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Features](#features)
- [Options](#options)
<!-- vim-markdown-toc -->
## Description
This layer provides many edit key bindings for SpaceVim, and also provides more text objects.
## Features
- change surround symbol via vim-surround
- repeat latest action via vim-repeat
- multiple cursor
- align
- set justification for paragraph
- highlight whitespaces at the end of a line
- load editorconfig config, need `+python` or `+python3`
## Options
- `textobj`: specified a list of text objects to be enabled, the avaliable list is :`indent`, `line`, `entire`