add header

master
Totem4 Totem4 1 year ago
parent 4fac2df1a5
commit 378761c34a

@ -1,20 +1,22 @@
This is free and unencumbered software released into the public domain.
MIT License
Anyone is free to copy, modify, publish, use, compile, sell, or distribute
this software, either in source code form or as a compiled binary, for any
purpose, commercial or non-commercial, and by any means.
Copyright (c) 2023, totem4
Copyright (c) 2020, itec
In jurisdictions that recognize copyright laws, the author or authors of this
software dedicate any and all copyright interest in the software to the public
domain. We make this dedication for the benefit of the public at large and
to the detriment of our heirs and successors. We intend this dedication to
be an overt act of relinquishment in perpetuity of all present and future
rights to this software under copyright law.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information,
please refer to <https://unlicense.org/>
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

@ -1,8 +1,12 @@
if exists("g:autoloaded_Banananew") || &cp
" banana.vim - Convert Base Banana (https://git.lattuga.net/itec/banana) and back
" T4 - totem4@tropici.net
" Version: 0.1
if exists("g:autoloaded_Banana") || &cp
finish
endif
let g:autoloaded_Banananew= 1 " your version number
let g:autoloaded_Banana= 1
fun! banana#Enc() range
if line("'<") > 0

@ -0,0 +1,3 @@
# vim-banana
Vim Plugin to convert decimal to base banana (https://git.lattuga.net/itec/banana) and back.

@ -1,25 +1,25 @@
if exists("g:loaded_Banananew") || &cp
" banana.vim - Convert Base Banana (https://git.lattuga.net/itec/banana) and back
" T4 - totem4@tropici.net
" Version: 0.1
if exists("g:loaded_Banana") || &cp
finish
endif
let g:loaded_Banananew= 1 " your version number
let g:loaded_Banana= 1
let s:keepcpo = &cpo
set cpo&vim
if !hasmapto('<Plug>BananaEncnew')
map <unique> <Leader>c <Plug>BananaEncNew
if !hasmapto('<Plug>BananaEnc')
map <unique> <Leader>c <Plug>BananaEnc
endif
if !hasmapto('<Plug>BananaDecnew')
map <unique> <Leader>t <Plug>BananaDecNew
if !hasmapto('<Plug>BananaDec')
map <unique> <Leader>t <Plug>BananaDec
endif
"noremap <silent> <unique> <script> <Plug>BananaEncNew
" \ :call <SID>Enc()<CR>
noremap <silent> <unique> <script> <Plug>BananaEncNew
noremap <silent> <unique> <script> <Plug>BananaEnc
\ :call banana#Enc()<CR>
"noremap <silent> <unique> <script> <Plug>BananaDecNew
" \ :call <SID>Dec()<CR>
noremap <silent> <unique> <script> <Plug>BananaDecNew
noremap <silent> <unique> <script> <Plug>BananaDec
\ :call banana#Dec()<CR>
let &cpo= s:keepcpo

Loading…
Cancel
Save