From e941df35fa8ef58bab09069e3313af3ccf92d9cf Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 17 Aug 2024 19:15:43 +1200 Subject: [PATCH] add license --- .session.vim | 12 ++++++------ LICENSE | 23 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 LICENSE diff --git a/.session.vim b/.session.vim index 8b1fafb..434ea7d 100644 --- a/.session.vim +++ b/.session.vim @@ -13,11 +13,11 @@ if &shortmess =~ 'A' else set shortmess=aoO endif -badd +6 .gitignore +badd +0 LICENSE argglobal %argdel -$argadd .gitignore -edit .gitignore +$argadd LICENSE +edit LICENSE argglobal setlocal fdm=manual setlocal fde=0 @@ -29,12 +29,12 @@ setlocal fdn=20 setlocal fen silent! normal! zE let &fdl = &fdl -let s:l = 6 - ((5 * winheight(0) + 16) / 32) +let s:l = 3 - ((2 * winheight(0) + 16) / 32) if s:l < 1 | let s:l = 1 | endif keepjumps exe s:l normal! zt -keepjumps 6 -normal! 011| +keepjumps 3 +normal! 029| tabnext 1 if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal' silent exe 'bwipe ' . s:wipebuf diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c48977c --- /dev/null +++ b/LICENSE @@ -0,0 +1,23 @@ +zlib/libpng license + +Copyright (c) 2024 Sam Watson + +This software is provided 'as-is', without any express or implied warranty. +In no event will the authors be held liable for any damages arising from the +use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software in a + product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not + be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. +