From 7cadc9a9dee2d249a26b520f90dad300ead0d160 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 7 Jan 2017 15:44:10 +0800 Subject: [PATCH] Remove plugins --- autoload/SpaceVim/default.vim | 10 ++++++++++ autoload/SpaceVim/plugins.vim | 0 config/plugins_before/vim-snippets.vim | 10 ---------- 3 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 autoload/SpaceVim/plugins.vim delete mode 100644 config/plugins_before/vim-snippets.vim diff --git a/autoload/SpaceVim/default.vim b/autoload/SpaceVim/default.vim index 5c868552a..b11b80e50 100644 --- a/autoload/SpaceVim/default.vim +++ b/autoload/SpaceVim/default.vim @@ -146,6 +146,16 @@ function! SpaceVim#default#SetMappings() abort "mapping "全局映射 "也可以通过'za'打开或者关闭折叠 + imap zvim#tab() + smap neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : "\" + inoremap zvim#enter() + inoremap =MyLeaderTabfunc() + inoremap pumvisible() ? "\" : "\" + inoremap pumvisible() ? "\" : "\" + inoremap pumvisible() ? "\\\" : "\" + inoremap pumvisible() ? "\\\" : "\" + imap pumvisible() ? "\" : "" + smap pumvisible() ? "\" : "" nnoremap @=((foldclosed(line('.')) < 0) ? 'zc' : 'zo') "Super paste it does not work "ino :set pastemui+mv'uV'v=:set nopaste diff --git a/autoload/SpaceVim/plugins.vim b/autoload/SpaceVim/plugins.vim new file mode 100644 index 000000000..e69de29bb diff --git a/config/plugins_before/vim-snippets.vim b/config/plugins_before/vim-snippets.vim deleted file mode 100644 index 7390ea393..000000000 --- a/config/plugins_before/vim-snippets.vim +++ /dev/null @@ -1,10 +0,0 @@ -imap zvim#tab() -smap neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : "\" -inoremap zvim#enter() -inoremap =MyLeaderTabfunc() -inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? "\\\" : "\" -inoremap pumvisible() ? "\\\" : "\" -imap pumvisible() ? "\" : "" -smap pumvisible() ? "\" : ""