split vim_legacy
parent
265eb2a2d3
commit
4fac2df1a5
@ -0,0 +1,27 @@
|
||||
if exists("g:loaded_Banananew") || &cp
|
||||
finish
|
||||
endif
|
||||
let g:loaded_Banananew= 1 " your version number
|
||||
let s:keepcpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
if !hasmapto('<Plug>BananaEncnew')
|
||||
map <unique> <Leader>c <Plug>BananaEncNew
|
||||
endif
|
||||
|
||||
if !hasmapto('<Plug>BananaDecnew')
|
||||
map <unique> <Leader>t <Plug>BananaDecNew
|
||||
endif
|
||||
|
||||
"noremap <silent> <unique> <script> <Plug>BananaEncNew
|
||||
" \ :call <SID>Enc()<CR>
|
||||
noremap <silent> <unique> <script> <Plug>BananaEncNew
|
||||
\ :call banana#Enc()<CR>
|
||||
"noremap <silent> <unique> <script> <Plug>BananaDecNew
|
||||
" \ :call <SID>Dec()<CR>
|
||||
noremap <silent> <unique> <script> <Plug>BananaDecNew
|
||||
\ :call banana#Dec()<CR>
|
||||
|
||||
let &cpo= s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
Loading…
Reference in New Issue