diff --git a/UltiSnips/all.snippets b/UltiSnips/all.snippets index 7293404..582920a 100644 --- a/UltiSnips/all.snippets +++ b/UltiSnips/all.snippets @@ -15,3 +15,7 @@ snippet dd "Date and Time" i `date` endsnippet +snippet credhsrm "Credentials HSRM" b +Yannick Reiß (yreis001) +endsnippet + diff --git a/lastSession.vi b/lastSession.vi index d44402e..594c033 100644 --- a/lastSession.vi +++ b/lastSession.vi @@ -13,7 +13,7 @@ if &shortmess =~ 'A' else set shortmess=aoO endif -badd +17 UltiSnips/all.snippets +badd +19 UltiSnips/all.snippets argglobal %argdel $argadd UltiSnips/all.snippets @@ -27,12 +27,12 @@ setlocal fdl=99 setlocal fml=1 setlocal fdn=20 setlocal nofen -let s:l = 17 - ((16 * winheight(0) + 25) / 50) +let s:l = 19 - ((18 * winheight(0) + 25) / 50) if s:l < 1 | let s:l = 1 | endif keepjumps exe s:l normal! zt -keepjumps 17 -normal! 0 +keepjumps 19 +normal! 056| tabnext 1 if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal' silent exe 'bwipe ' . s:wipebuf