mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:50:05 +08:00
Remove plugins
This commit is contained in:
parent
ba4e3eb469
commit
7cadc9a9de
@ -146,6 +146,16 @@ function! SpaceVim#default#SetMappings() abort
|
|||||||
"mapping
|
"mapping
|
||||||
"全局映射
|
"全局映射
|
||||||
"也可以通过'za'打开或者关闭折叠
|
"也可以通过'za'打开或者关闭折叠
|
||||||
|
imap <silent><expr><TAB> zvim#tab()
|
||||||
|
smap <expr><TAB> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
|
||||||
|
inoremap <silent><expr><CR> zvim#enter()
|
||||||
|
inoremap <silent> <Leader><Tab> <C-r>=MyLeaderTabfunc()<CR>
|
||||||
|
inoremap <expr> <Down> pumvisible() ? "\<C-n>" : "\<Down>"
|
||||||
|
inoremap <expr> <Up> pumvisible() ? "\<C-p>" : "\<Up>"
|
||||||
|
inoremap <expr> <PageDown> pumvisible() ? "\<PageDown>\<C-p>\<C-n>" : "\<PageDown>"
|
||||||
|
inoremap <expr> <PageUp> pumvisible() ? "\<PageUp>\<C-p>\<C-n>" : "\<PageUp>"
|
||||||
|
imap <expr><S-TAB> pumvisible() ? "\<C-p>" : ""
|
||||||
|
smap <expr><S-TAB> pumvisible() ? "\<C-p>" : ""
|
||||||
nnoremap <silent><leader><space> @=((foldclosed(line('.')) < 0) ? 'zc' : 'zo')<CR>
|
nnoremap <silent><leader><space> @=((foldclosed(line('.')) < 0) ? 'zc' : 'zo')<CR>
|
||||||
"Super paste it does not work
|
"Super paste it does not work
|
||||||
"ino <C-v> <esc>:set paste<cr>mui<C-R>+<esc>mv'uV'v=:set nopaste<cr>
|
"ino <C-v> <esc>:set paste<cr>mui<C-R>+<esc>mv'uV'v=:set nopaste<cr>
|
||||||
|
0
autoload/SpaceVim/plugins.vim
Normal file
0
autoload/SpaceVim/plugins.vim
Normal file
@ -1,10 +0,0 @@
|
|||||||
imap <silent><expr><TAB> zvim#tab()
|
|
||||||
smap <expr><TAB> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
|
|
||||||
inoremap <silent><expr><CR> zvim#enter()
|
|
||||||
inoremap <silent> <Leader><Tab> <C-r>=MyLeaderTabfunc()<CR>
|
|
||||||
inoremap <expr> <Down> pumvisible() ? "\<C-n>" : "\<Down>"
|
|
||||||
inoremap <expr> <Up> pumvisible() ? "\<C-p>" : "\<Up>"
|
|
||||||
inoremap <expr> <PageDown> pumvisible() ? "\<PageDown>\<C-p>\<C-n>" : "\<PageDown>"
|
|
||||||
inoremap <expr> <PageUp> pumvisible() ? "\<PageUp>\<C-p>\<C-n>" : "\<PageUp>"
|
|
||||||
imap <expr><S-TAB> pumvisible() ? "\<C-p>" : ""
|
|
||||||
smap <expr><S-TAB> pumvisible() ? "\<C-p>" : ""
|
|
Loading…
Reference in New Issue
Block a user