summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vim-session.vim36
-rw-r--r--themes/bronn/layouts/partials/comments.html2
2 files changed, 4 insertions, 34 deletions
diff --git a/.vim-session.vim b/.vim-session.vim
index 79afc56..90d563e 100644
--- a/.vim-session.vim
+++ b/.vim-session.vim
@@ -7,24 +7,17 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%')
endif
set shortmess=aoO
-badd +1 content/posts/typescript-webpack-setup.md
-badd +1 content/notes/complete-ethical-hacking.md
+badd +0 themes/bronn/layouts/partials/comments.html
argglobal
%argdel
$argadd content/posts/typescript-webpack-setup.md
-edit content/posts/typescript-webpack-setup.md
+edit themes/bronn/layouts/partials/comments.html
set splitbelow splitright
-wincmd _ | wincmd |
-vsplit
-1wincmd h
-wincmd w
wincmd t
set winminheight=0
set winheight=1
set winminwidth=0
set winwidth=1
-exe 'vert 1resize ' . ((&columns * 95 + 95) / 190)
-exe 'vert 2resize ' . ((&columns * 94 + 95) / 190)
argglobal
setlocal fdm=manual
setlocal fde=0
@@ -35,33 +28,12 @@ setlocal fml=1
setlocal fdn=20
setlocal fen
silent! normal! zE
-let s:l = 7 - ((6 * winheight(0) + 23) / 46)
+let s:l = 1 - ((0 * winheight(0) + 23) / 46)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
-7
-normal! 012|
-wincmd w
-argglobal
-if bufexists("content/notes/complete-ethical-hacking.md") | buffer content/notes/complete-ethical-hacking.md | else | edit content/notes/complete-ethical-hacking.md | endif
-setlocal fdm=manual
-setlocal fde=0
-setlocal fmr={{{,}}}
-setlocal fdi=#
-setlocal fdl=0
-setlocal fml=1
-setlocal fdn=20
-setlocal fen
-silent! normal! zE
-let s:l = 7 - ((6 * winheight(0) + 23) / 46)
-if s:l < 1 | let s:l = 1 | endif
-exe s:l
-normal! zt
-7
+1
normal! 0
-wincmd w
-exe 'vert 1resize ' . ((&columns * 95 + 95) / 190)
-exe 'vert 2resize ' . ((&columns * 94 + 95) / 190)
tabnext 1
if exists('s:wipebuf') && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf
diff --git a/themes/bronn/layouts/partials/comments.html b/themes/bronn/layouts/partials/comments.html
index 338ba90..e69de29 100644
--- a/themes/bronn/layouts/partials/comments.html
+++ b/themes/bronn/layouts/partials/comments.html
@@ -1,2 +0,0 @@
-<script defer src="https://commento.host.abdus.net/js/commento.js"></script>
-<div id="commento"></div>