mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 09:30:04 +08:00
Update doc for vim-diff
This commit is contained in:
parent
5261e59a37
commit
093d27afc5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
doc/tags
|
doc/tags
|
||||||
|
.ropeproject/
|
||||||
wiki/.git
|
wiki/.git
|
||||||
*.class
|
*.class
|
||||||
.floo
|
.floo
|
||||||
|
@ -207,6 +207,10 @@ let g:spacevim_statusline_right_sections = ['fileformat', 'cursorpos', 'percenta
|
|||||||
" Enable/Disable unicode symbols in statusline
|
" Enable/Disable unicode symbols in statusline
|
||||||
let g:spacevim_statusline_unicode_symbols = 1
|
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
|
" Enable/Disable display mode. Default is 0, mode will be
|
||||||
" displayed in statusline. To enable this feature:
|
" displayed in statusline. To enable this feature:
|
||||||
" >
|
" >
|
||||||
|
@ -30,6 +30,10 @@ function! SpaceVim#mapping#space#init() abort
|
|||||||
vnoremap <silent><nowait> [SPC] :<c-u>LeaderGuideVisual " "<CR>
|
vnoremap <silent><nowait> [SPC] :<c-u>LeaderGuideVisual " "<CR>
|
||||||
nmap <Space> [SPC]
|
nmap <Space> [SPC]
|
||||||
vmap <Space> [SPC]
|
vmap <Space> [SPC]
|
||||||
|
if g:spacevim_enable_language_specific_leader
|
||||||
|
nmap , [SPC]l
|
||||||
|
vmap , [SPC]l
|
||||||
|
endif
|
||||||
" Windows
|
" Windows
|
||||||
for i in range(1, 9)
|
for i in range(1, 9)
|
||||||
exe "call SpaceVim#mapping#space#def('nnoremap', ["
|
exe "call SpaceVim#mapping#space#def('nnoremap', ["
|
||||||
|
@ -233,6 +233,10 @@ Define the right section of statusline in active windows. By default:
|
|||||||
*g:spacevim_statusline_unicode_symbols*
|
*g:spacevim_statusline_unicode_symbols*
|
||||||
Enable/Disable unicode symbols in statusline
|
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*
|
*g:spacevim_enable_statusline_display_mode*
|
||||||
Enable/Disable display mode. Default is 0, mode will be displayed in
|
Enable/Disable display mode. Default is 0, mode will be displayed in
|
||||||
statusline. To enable this feature:
|
statusline. To enable this feature:
|
||||||
|
@ -32,6 +32,7 @@ description: "General documentation about how to using SpaceVim, including the q
|
|||||||
- [Alternative directory](#alternative-directory)
|
- [Alternative directory](#alternative-directory)
|
||||||
- [Concepts](#concepts)
|
- [Concepts](#concepts)
|
||||||
- [Transient-states](#transient-states)
|
- [Transient-states](#transient-states)
|
||||||
|
- [Differences between vim/neovim and SpaceVim](#differences-between-vimneovim-and-spacevim)
|
||||||
- [Awesome ui](#awesome-ui)
|
- [Awesome ui](#awesome-ui)
|
||||||
- [Colorschemes](#colorschemes)
|
- [Colorschemes](#colorschemes)
|
||||||
- [Font](#font)
|
- [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)
|
![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
|
## Awesome ui
|
||||||
|
|
||||||
SpaceVim has a minimalistic and distraction free UI:
|
SpaceVim has a minimalistic and distraction free UI:
|
||||||
|
Loading…
Reference in New Issue
Block a user