1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:40:05 +08:00

Merge branch 'native-func' into dev

This commit is contained in:
wsdjeg 2017-02-10 00:03:15 +08:00
commit 58350909a3
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

@ -629,5 +629,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: