aboutsummaryrefslogtreecommitdiffstats
path: root/session.vim
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-07 18:02:36 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit11369e6592800fcf03138b109fee3d4c0736f21a (patch)
treed0c04f5d9f5088ab298fdbdba506df132e9224cc /session.vim
parentacfd4316ac0678aa622b116359821246f06aa080 (diff)
cpp, more listeners
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'session.vim')
-rw-r--r--session.vim26
1 files changed, 14 insertions, 12 deletions
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)