From 11369e6592800fcf03138b109fee3d4c0736f21a Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Wed, 7 Jun 2017 18:02:36 +0200 Subject: cpp, more listeners Signed-off-by: Marcus Fritzsch --- session.vim | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'session.vim') diff --git a/session.vim b/session.vim index 47dd26f..63ede7e 100644 --- a/session.vim +++ b/session.vim @@ -7,16 +7,18 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' let s:wipebuf = bufnr('%') endif set shortmess=aoO -badd +34 src/main.c -badd +1 term://.//32710:/usr/bin/fish -badd +2 src/CMakeLists.txt -badd +8 CMakeLists.txt +badd +77 src/main.c +badd +10 src/CMakeLists.txt +badd +46 CMakeLists.txt badd +19 src/util.c -badd +8 src/util.h +badd +14 src/util.h +badd +1 term://.//9732:/usr/bin/fish +badd +1 main.cpp +badd +26 src/main.cpp argglobal silent! argdel * argadd src/main.c -edit src/main.c +edit src/main.cpp set splitbelow splitright wincmd _ | wincmd | vsplit @@ -37,15 +39,15 @@ setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen -let s:l = 54 - ((32 * winheight(0) + 33) / 66) +let s:l = 125 - ((60 * winheight(0) + 33) / 66) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -54 -normal! 04| +125 +normal! 022| wincmd w argglobal -edit term://.//32710:/usr/bin/fish +edit term://.//9732:/usr/bin/fish setlocal fdm=marker setlocal fde=0 setlocal fmr={{{,}}} @@ -54,11 +56,11 @@ setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen -let s:l = 14 - ((13 * winheight(0) + 33) / 66) +let s:l = 41 - ((13 * winheight(0) + 33) / 66) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -14 +41 normal! 0 wincmd w exe 'vert 1resize ' . ((&columns * 137 + 137) / 274) -- cgit 1.2.3-korg