mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 14:50:06 +08:00
Add text manipulation commands example PR
This commit is contained in:
parent
f931ed08b0
commit
b55751be03
@ -38,4 +38,7 @@ function! SpaceVim#layers#edit#config() abort
|
|||||||
"noremap <SPACE> <Plug>(wildfire-fuel)
|
"noremap <SPACE> <Plug>(wildfire-fuel)
|
||||||
vnoremap <C-SPACE> <Plug>(wildfire-water)
|
vnoremap <C-SPACE> <Plug>(wildfire-water)
|
||||||
let g:wildfire_objects = ["i'", 'i"', 'i)', 'i]', 'i}', 'ip', 'it']
|
let g:wildfire_objects = ["i'", 'i"', 'i)', 'i]', 'i}', 'ip', 'it']
|
||||||
|
let g:_spacevim_mappings_space.x = {'name' : '+Text'}
|
||||||
|
let g:_spacevim_mappings_space.x.a = {'name' : '+align'}
|
||||||
|
call SpaceVim#mapping#space#def('nnoremap', ['x', 'a', '&'], 'Tabularize /&', 'align region at &', 1)
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -77,6 +77,9 @@ title: "Documentation"
|
|||||||
* [Searching the web](#searching-the-web)
|
* [Searching the web](#searching-the-web)
|
||||||
* [Persistent highlighting](#persistent-highlighting)
|
* [Persistent highlighting](#persistent-highlighting)
|
||||||
* [Editing](#editing)
|
* [Editing](#editing)
|
||||||
|
* [Paste text](#paste-text)
|
||||||
|
* [Auto-indent pasted text](#auto-indent-pasted-text)
|
||||||
|
* [Text manipulation commands](#text-manipulation-commands)
|
||||||
* [Multi-Encodings](#multi-encodings)
|
* [Multi-Encodings](#multi-encodings)
|
||||||
* [Errors handling](#errors-handling)
|
* [Errors handling](#errors-handling)
|
||||||
* [Features](#features)
|
* [Features](#features)
|
||||||
@ -1104,6 +1107,14 @@ SpaceVim uses `g:spacevim_search_highlight_persist` to keep the searched express
|
|||||||
|
|
||||||
### Editing
|
### Editing
|
||||||
|
|
||||||
|
#### Paste text
|
||||||
|
|
||||||
|
##### Auto-indent pasted text
|
||||||
|
|
||||||
|
#### Text manipulation commands
|
||||||
|
|
||||||
|
Text related commands (start with `x`):
|
||||||
|
|
||||||
#### Multi-Encodings
|
#### Multi-Encodings
|
||||||
|
|
||||||
SpaceVim use utf-8 as default encoding. there are four options for these case:
|
SpaceVim use utf-8 as default encoding. there are four options for these case:
|
||||||
|
Loading…
Reference in New Issue
Block a user