mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:00:04 +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)
|
||||
|
||||
#### Community
|
||||
Try these Neovim hangouts for any questions, problems or comments.
|
||||
Try these Neovim hangouts for any questions, problems or comments.
|
||||
- Ask
|
||||
- [issue tracker](https://github.com/SpaceVim/SpaceVim/issues) for issue and feature requests
|
||||
- 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
|
||||
" `<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
|
||||
nnoremap <silent><nowait> <leader> :<c-u>LeaderGuide '\'<CR>
|
||||
vnoremap <silent> <leader> :<c-u>LeaderGuideVisual '\'<CR>
|
||||
nnoremap <silent><nowait> <leader> :<c-u>LeaderGuide get(g:, 'mapleader', '\')<CR>
|
||||
vnoremap <silent> <leader> :<c-u>LeaderGuideVisual get(g:, 'mapleader', '\')<CR>
|
||||
endif
|
||||
|
@ -755,5 +755,11 @@ FAQ *SpaceVim-faq*
|
||||
`<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:
|
||||
|
Loading…
Reference in New Issue
Block a user