mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 09:20:06 +08:00
Add faq for how to use space as leader
This commit is contained in:
parent
920a52817c
commit
836082e9ef
@ -58,7 +58,7 @@ For learning about Vim in general, read [vim-galore](https://github.com/mhinz/vi
|
|||||||
[![Throughput Graph](https://graphs.waffle.io/SpaceVim/SpaceVim/throughput.svg)](https://waffle.io/SpaceVim/SpaceVim/metrics/throughput)
|
[![Throughput Graph](https://graphs.waffle.io/SpaceVim/SpaceVim/throughput.svg)](https://waffle.io/SpaceVim/SpaceVim/metrics/throughput)
|
||||||
|
|
||||||
#### Community
|
#### Community
|
||||||
Try these Neovim hangouts for any questions, problems or comments.
|
Try these Neovim hangouts for any questions, problems or comments.
|
||||||
- Ask
|
- Ask
|
||||||
- [issue tracker](https://github.com/SpaceVim/SpaceVim/issues) for issue and feature requests
|
- [issue tracker](https://github.com/SpaceVim/SpaceVim/issues) for issue and feature requests
|
||||||
- vi StackExchange for "how to" & configuration questions
|
- vi StackExchange for "how to" & configuration questions
|
||||||
|
@ -378,3 +378,8 @@ endfunction
|
|||||||
" binding as `<Right>`, so maybe you can change the `cedit` option or use
|
" binding as `<Right>`, so maybe you can change the `cedit` option or use
|
||||||
" `<leader>+<c-f>`.
|
" `<leader>+<c-f>`.
|
||||||
" <
|
" <
|
||||||
|
"
|
||||||
|
" 4. How to use `<space>` as `<leader>`?
|
||||||
|
" >
|
||||||
|
" Add `let mapleader = "\<space>"` to `~/.SpaceVim.d/init.vim`
|
||||||
|
" <
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
if g:spacevim_realtime_leader_guide
|
if g:spacevim_realtime_leader_guide
|
||||||
nnoremap <silent><nowait> <leader> :<c-u>LeaderGuide '\'<CR>
|
nnoremap <silent><nowait> <leader> :<c-u>LeaderGuide get(g:, 'mapleader', '\')<CR>
|
||||||
vnoremap <silent> <leader> :<c-u>LeaderGuideVisual '\'<CR>
|
vnoremap <silent> <leader> :<c-u>LeaderGuideVisual get(g:, 'mapleader', '\')<CR>
|
||||||
endif
|
endif
|
||||||
|
@ -755,5 +755,11 @@ FAQ *SpaceVim-faq*
|
|||||||
`<leader>+<c-f>`.
|
`<leader>+<c-f>`.
|
||||||
<
|
<
|
||||||
|
|
||||||
|
4. How to use `<space>` as `<leader>`?
|
||||||
|
|
||||||
|
>
|
||||||
|
Add `let mapleader = "\<space>"` to `~/.SpaceVim.d/init.vim`
|
||||||
|
<
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
Loading…
Reference in New Issue
Block a user