You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
681 B
VimL

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