1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:20:06 +08:00

Update doc for vim-diff

This commit is contained in:
wsdjeg 2018-01-07 12:12:34 +08:00
parent 5261e59a37
commit 093d27afc5
5 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
doc/tags
.ropeproject/
wiki/.git
*.class
.floo

View File

@ -207,6 +207,10 @@ let g:spacevim_statusline_right_sections = ['fileformat', 'cursorpos', 'percenta
" Enable/Disable unicode symbols in statusline
let g:spacevim_statusline_unicode_symbols = 1
""
" Enable/Disable language specific leader, by default you can use `,` ket
" instead of `SPC` `l`.
let g:spacevim_enable_language_specific_leader = 1
""
" Enable/Disable display mode. Default is 0, mode will be
" displayed in statusline. To enable this feature:
" >

View File

@ -30,6 +30,10 @@ function! SpaceVim#mapping#space#init() abort
vnoremap <silent><nowait> [SPC] :<c-u>LeaderGuideVisual " "<CR>
nmap <Space> [SPC]
vmap <Space> [SPC]
if g:spacevim_enable_language_specific_leader
nmap , [SPC]l
vmap , [SPC]l
endif
" Windows
for i in range(1, 9)
exe "call SpaceVim#mapping#space#def('nnoremap', ["

View File

@ -233,6 +233,10 @@ Define the right section of statusline in active windows. By default:
*g:spacevim_statusline_unicode_symbols*
Enable/Disable unicode symbols in statusline
*g:spacevim_enable_language_specific_leader*
Enable/Disable language specific leader, by default you can use `,` ket
instead of `SPC` `l`.
*g:spacevim_enable_statusline_display_mode*
Enable/Disable display mode. Default is 0, mode will be displayed in
statusline. To enable this feature:

View File

@ -32,6 +32,7 @@ description: "General documentation about how to using SpaceVim, including the q
- [Alternative directory](#alternative-directory)
- [Concepts](#concepts)
- [Transient-states](#transient-states)
- [Differences between vim/neovim and SpaceVim](#differences-between-vimneovim-and-spacevim)
- [Awesome ui](#awesome-ui)
- [Colorschemes](#colorschemes)
- [Font](#font)
@ -353,6 +354,13 @@ Move Text Transient State:
![Move Text Transient State](https://user-images.githubusercontent.com/13142418/28489559-4fbc1930-6ef8-11e7-9d5a-716fe8dbb881.png)
## Differences between vim/neovim and SpaceVim
- The `f` key does find char on the right, but in SpaceVim it is the `Unite` key bindings specific leader key by defalut (which can be set on another key binding in dotfile). If you still prefer the origin function of `f`, you can use an empty string to disable this feature.
- The `F` key does find char on the left, but in SpaceVim it is the `Denite` key bindings specific leader key by defalut (which can be set on another key binding in dotfile). If you still prefer the origin function of `F`, you can use an empty string to disable this feature.
- The `s` key does replace cursor char, but in SpaceVim it is the `Window` key bindings specific leader key by defalut (which can be set on another key binding in dotfile). If you still prefer the origin function of `s`, you can use an empty string to disable this feature.
- The `,` key does repeat last `f`, `F`, `t` and `T` in vim, but in SpaceVim it is the language specified Leader key.
## Awesome ui
SpaceVim has a minimalistic and distraction free UI: