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 Copyright (c) 2023, totem4
this software, either in source code form or as a compiled binary, for any Copyright (c) 2020, itec
purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this Permission is hereby granted, free of charge, to any person obtaining a copy
software dedicate any and all copyright interest in the software to the public of this software and associated documentation files (the "Software"), to deal
domain. We make this dedication for the benefit of the public at large and in the Software without restriction, including without limitation the rights
to the detriment of our heirs and successors. We intend this dedication to to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
be an overt act of relinquishment in perpetuity of all present and future copies of the Software, and to permit persons to whom the Software is
rights to this software under copyright law. 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 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
please refer to <https://unlicense.org/> 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 finish
endif endif
let g:autoloaded_Banananew= 1 " your version number let g:autoloaded_Banana= 1
fun! banana#Enc() range fun! banana#Enc() range
if line("'<") > 0 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 finish
endif endif
let g:loaded_Banananew= 1 " your version number let g:loaded_Banana= 1
let s:keepcpo = &cpo let s:keepcpo = &cpo
set cpo&vim set cpo&vim
if !hasmapto('<Plug>BananaEncnew') if !hasmapto('<Plug>BananaEnc')
map <unique> <Leader>c <Plug>BananaEncNew map <unique> <Leader>c <Plug>BananaEnc
endif endif
if !hasmapto('<Plug>BananaDecnew') if !hasmapto('<Plug>BananaDec')
map <unique> <Leader>t <Plug>BananaDecNew map <unique> <Leader>t <Plug>BananaDec
endif endif
"noremap <silent> <unique> <script> <Plug>BananaEncNew noremap <silent> <unique> <script> <Plug>BananaEnc
" \ :call <SID>Enc()<CR>
noremap <silent> <unique> <script> <Plug>BananaEncNew
\ :call banana#Enc()<CR> \ :call banana#Enc()<CR>
"noremap <silent> <unique> <script> <Plug>BananaDecNew noremap <silent> <unique> <script> <Plug>BananaDec
" \ :call <SID>Dec()<CR>
noremap <silent> <unique> <script> <Plug>BananaDecNew
\ :call banana#Dec()<CR> \ :call banana#Dec()<CR>
let &cpo= s:keepcpo let &cpo= s:keepcpo

Loading…
Cancel
Save