diff options
Diffstat (limited to 'session.vim')
-rw-r--r-- | session.vim | 19 |
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) |