mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +08:00
Merge branch 'native-func' into dev
This commit is contained in:
commit
58350909a3
@ -367,3 +367,9 @@ endfunction
|
|||||||
" let g:neosnippet#snippets_directory = '~/path/to/snip_dir'
|
" let g:neosnippet#snippets_directory = '~/path/to/snip_dir'
|
||||||
" <
|
" <
|
||||||
" for more info about how to write snippet, please read ||neosnippet-snippet-syntax|.
|
" 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>`.
|
||||||
|
@ -274,6 +274,7 @@ function! SpaceVim#default#SetMappings() abort
|
|||||||
cnoremap <C-a> <Home>
|
cnoremap <C-a> <Home>
|
||||||
cnoremap <C-b> <Left>
|
cnoremap <C-b> <Left>
|
||||||
cnoremap <C-f> <Right>
|
cnoremap <C-f> <Right>
|
||||||
|
cnoremap <Leader><C-F> <C-F>
|
||||||
|
|
||||||
"When pressing <leader>cd switch to the directory of the open buffer
|
"When pressing <leader>cd switch to the directory of the open buffer
|
||||||
map <Leader>cd :cd %:p:h<CR>:pwd<CR>
|
map <Leader>cd :cd %:p:h<CR>:pwd<CR>
|
||||||
|
@ -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
|
for more info about how to write snippet, please read
|
||||||
||neosnippet-snippet-syntax|.
|
||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:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user