summaryrefslogtreecommitdiffstats
path: root/session.vim
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-08 13:33:47 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitdb95653246560c24ad3c8cb224b3d9321b50af0a (patch)
treeabdb6b98405e1f7642fadf8114d198ad86bdf279 /session.vim
parent11369e6592800fcf03138b109fee3d4c0736f21a (diff)
cpp, simple wrappers for most of what we need, ivi_* still incomplete
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'session.vim')
-rw-r--r--session.vim19
1 files changed, 9 insertions, 10 deletions
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)