From 4fac2df1a5e8f4b7fc0f242c4db86f519ccb7aff Mon Sep 17 00:00:00 2001 From: totem4 Date: Wed, 13 Sep 2023 09:59:18 +0200 Subject: [PATCH] split vim_legacy --- {plugin => python/plugin}/banana.py | 0 {plugin => python/plugin}/banana.vim | 0 .../autoload}/banana.vim | 27 +++---------------- vim_legacy/plugin/banana.vim | 27 +++++++++++++++++++ 4 files changed, 31 insertions(+), 23 deletions(-) rename {plugin => python/plugin}/banana.py (100%) rename {plugin => python/plugin}/banana.vim (100%) rename {plugin_vim => vim_legacy/autoload}/banana.vim (81%) create mode 100644 vim_legacy/plugin/banana.vim diff --git a/plugin/banana.py b/python/plugin/banana.py similarity index 100% rename from plugin/banana.py rename to python/plugin/banana.py diff --git a/plugin/banana.vim b/python/plugin/banana.vim similarity index 100% rename from plugin/banana.vim rename to python/plugin/banana.vim diff --git a/plugin_vim/banana.vim b/vim_legacy/autoload/banana.vim similarity index 81% rename from plugin_vim/banana.vim rename to vim_legacy/autoload/banana.vim index 84cc612..a393ffd 100644 --- a/plugin_vim/banana.vim +++ b/vim_legacy/autoload/banana.vim @@ -1,25 +1,10 @@ -if exists("g:loaded_Banananew") || &cp +if exists("g:autoloaded_Banananew") || &cp finish endif -let g:loaded_Banananew= 1 " your version number -let s:keepcpo = &cpo -set cpo&vim -if !hasmapto('BananaEncnew') - map c BananaEncNew -endif - -if !hasmapto('BananaDecnew') - map t BananaDecNew -endif - -noremap