1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-15 08:09:11 +08:00

Doc for cedit option

This commit is contained in:
wsdjeg 2017-02-08 21:01:16 +08:00
parent 69b21485da
commit 0119760814
3 changed files with 13 additions and 0 deletions

View File

@ -367,3 +367,9 @@ endfunction
" let g:neosnippet#snippets_directory = '~/path/to/snip_dir'
" <
" for more info about how to write snippet, please read ||neosnippet-snippet-syntax|.
"
" 3. Where is `<c-f>` in cmdline-mode?
"
" `<c-f>` is the default value of |cedit| option, but in SpaceVim we use same
" as `<Right>`, so maybe you can change the `ceite` option, or use
" `<leader>+<c-f>`.

View File

@ -274,6 +274,7 @@ function! SpaceVim#default#SetMappings() abort
cnoremap <C-a> <Home>
cnoremap <C-b> <Left>
cnoremap <C-f> <Right>
cnoremap <Leader><C-F> <C-F>
"When pressing <leader>cd switch to the directory of the open buffer
map <Leader>cd :cd %:p:h<CR>:pwd<CR>

View File

@ -615,5 +615,11 @@ be save in `~/.SpaceVim.d/snippets`, if you want to use other directory:
for more info about how to write snippet, please read
||neosnippet-snippet-syntax|.
3. Where is `<c-f>` in cmdline-mode?
`<c-f>` is the default value of |cedit| option, but in SpaceVim we use same as
`<Right>`, so maybe you can change the `ceite` option, or use
`<leader>+<c-f>`.
vim:tw=78:ts=8:ft=help:norl: