From db95653246560c24ad3c8cb224b3d9321b50af0a Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Thu, 8 Jun 2017 13:33:47 +0200 Subject: cpp, simple wrappers for most of what we need, ivi_* still incomplete Signed-off-by: Marcus Fritzsch --- session.vim | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'session.vim') diff --git a/session.vim b/session.vim index 63ede7e..d02e460 100644 --- a/session.vim +++ b/session.vim @@ -7,18 +7,17 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' let s:wipebuf = bufnr('%') endif set shortmess=aoO -badd +77 src/main.c badd +10 src/CMakeLists.txt badd +46 CMakeLists.txt badd +19 src/util.c badd +14 src/util.h -badd +1 term://.//9732:/usr/bin/fish -badd +1 main.cpp -badd +26 src/main.cpp +badd +36 term://.//9732:/usr/bin/fish +badd +80 src/main.cpp +badd +11 src/genivi.hpp argglobal silent! argdel * argadd src/main.c -edit src/main.cpp +edit src/genivi.hpp set splitbelow splitright wincmd _ | wincmd | vsplit @@ -39,12 +38,12 @@ setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen -let s:l = 125 - ((60 * winheight(0) + 33) / 66) +let s:l = 11 - ((10 * winheight(0) + 33) / 66) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -125 -normal! 022| +11 +normal! 0 wincmd w argglobal edit term://.//9732:/usr/bin/fish @@ -56,11 +55,11 @@ setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen -let s:l = 41 - ((13 * winheight(0) + 33) / 66) +let s:l = 91 - ((63 * winheight(0) + 33) / 66) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -41 +91 normal! 0 wincmd w exe 'vert 1resize ' . ((&columns * 137 + 137) / 274) -- cgit 1.2.3-korg