2018-09-12 20:14:20 +08:00
|
|
|
---
|
|
|
|
title: "SpaceVim edit layer"
|
|
|
|
description: "Improve code edit expr in SpaceVim, provide more text opjects."
|
|
|
|
---
|
|
|
|
|
|
|
|
# [Available Layers](../) >> edit
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
|
|
- [Description](#description)
|
|
|
|
- [Features](#features)
|
|
|
|
- [Options](#options)
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
This layer provide many edit key bindings for SpaceVim, and also porvide more text objects.
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
2018-09-25 22:17:36 +08:00
|
|
|
- chang surround symbol via vim-surround
|
|
|
|
- repeat latest action via vim-repeat
|
|
|
|
- multiple cursor
|
|
|
|
- align
|
|
|
|
- highlight whitespace at the end of a line
|
|
|
|
- load ditorconfig config, need `+python` or `+python3`
|
2018-09-12 20:14:20 +08:00
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
- `textobj`: specified a list of text opjects to be enabled, the avaliable list is :`indent`, `line`, `entire`
|