X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=session.vim;h=63ede7e01cffb96fc546350d11076bb71e8205ed;hb=11369e6592800fcf03138b109fee3d4c0736f21a;hp=47dd26ffac3b33db7171739a84a772674a8695a9;hpb=acfd4316ac0678aa622b116359821246f06aa080;p=staging%2Fwindowmanager.git 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)