comparison vim/sessions/quadcopter.vim @ 77:66a2625f4a4c

Update sessions
author zegervdv <zegervdv@me.com>
date Fri, 11 Jul 2014 09:05:23 +0200
parents ce5c457bde68
children 044395254e27
comparison
equal deleted inserted replaced
76:d02e50a46edd 77:66a2625f4a4c
1 " ~/.dotfiles/vim/sessions/quadcopter.vim: 1 " ~/.dotfiles/vim/sessions/quadcopter.vim:
2 " Vim session script. 2 " Vim session script.
3 " Created by session.vim 2.4.14 on 26 juni 2014 at 18:27:48. 3 " Created by session.vim 2.4.14 on 28 juni 2014 at 16:21:41.
4 " Open this file in Vim and run :source % to restore your session. 4 " Open this file in Vim and run :source % to restore your session.
5 5
6 set guioptions=egm 6 set guioptions=egm
7 silent! set guifont=Inconsolata\ for\ Powerline:h12 7 silent! set guifont=Inconsolata\ for\ Powerline:h12
8 if exists('g:syntax_on') != 1 | syntax on | endif 8 if exists('g:syntax_on') != 1 | syntax on | endif
37 badd +1 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery.h 37 badd +1 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery.h
38 badd +457 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_l3gd20.c 38 badd +457 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_l3gd20.c
39 badd +1 ~/Documents/projects/STM-Quadcopter 39 badd +1 ~/Documents/projects/STM-Quadcopter
40 badd +1 source/bluetooth.h 40 badd +1 source/bluetooth.h
41 badd +1 source/sensor_data.h 41 badd +1 source/sensor_data.h
42 badd +1 debug/read_sensors.c 42 badd +84 debug/read_sensors.c
43 badd +1 debug/Makefile 43 badd +22 debug/Makefile
44 badd +0 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h 44 badd +0 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h
45 " argglobal 45 " argglobal
46 silent! argdel * 46 silent! argdel *
47 argadd ~/Documents/projects/STM-Quadcopter 47 argadd ~/Documents/projects/STM-Quadcopter
48 edit source/main.c 48 edit source/main.c
57 wincmd w 57 wincmd w
58 set nosplitbelow 58 set nosplitbelow
59 wincmd t 59 wincmd t
60 set winheight=1 winwidth=1 60 set winheight=1 winwidth=1
61 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 61 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
62 exe '2resize ' . ((&lines * 35 + 35) / 70) 62 exe '2resize ' . ((&lines * 35 + 34) / 69)
63 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 63 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
64 exe '3resize ' . ((&lines * 32 + 35) / 70) 64 exe '3resize ' . ((&lines * 31 + 34) / 69)
65 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187) 65 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
66 " argglobal 66 " argglobal
67 setlocal fdm=syntax 67 setlocal fdm=syntax
68 setlocal fde=0 68 setlocal fde=0
69 setlocal fmr={{{,}}} 69 setlocal fmr={{{,}}}
72 setlocal fml=1 72 setlocal fml=1
73 setlocal fdn=20 73 setlocal fdn=20
74 setlocal fen 74 setlocal fen
75 17 75 17
76 silent! normal! zo 76 silent! normal! zo
77 31 77 29
78 silent! normal! zo 78 silent! normal! zo
79 54 79 51
80 silent! normal! zo 80 silent! normal! zo
81 let s:l = 49 - ((33 * winheight(0) + 34) / 68) 81 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
82 if s:l < 1 | let s:l = 1 | endif 82 if s:l < 1 | let s:l = 1 | endif
83 exe s:l 83 exe s:l
84 normal! zt 84 normal! zt
85 49 85 1
86 normal! 0 86 normal! 0
87 wincmd w 87 wincmd w
88 " argglobal 88 " argglobal
89 edit source/bluetooth.c 89 edit source/bluetooth.c
90 setlocal fdm=syntax 90 setlocal fdm=syntax
103 silent! normal! zo 103 silent! normal! zo
104 97 104 97
105 normal! zc 105 normal! zc
106 108 106 108
107 silent! normal! zo 107 silent! normal! zo
108 let s:l = 91 - ((47 * winheight(0) + 17) / 35) 108 let s:l = 1 - ((0 * winheight(0) + 17) / 35)
109 if s:l < 1 | let s:l = 1 | endif 109 if s:l < 1 | let s:l = 1 | endif
110 exe s:l 110 exe s:l
111 normal! zt 111 normal! zt
112 91 112 1
113 normal! 018| 113 normal! 018|
114 wincmd w 114 wincmd w
115 " argglobal 115 " argglobal
116 edit source/bluetooth.h 116 edit source/bluetooth.h
117 setlocal fdm=manual 117 setlocal fdm=manual
121 setlocal fdl=0 121 setlocal fdl=0
122 setlocal fml=1 122 setlocal fml=1
123 setlocal fdn=20 123 setlocal fdn=20
124 setlocal fen 124 setlocal fen
125 silent! normal! zE 125 silent! normal! zE
126 let s:l = 28 - ((2 * winheight(0) + 16) / 32) 126 let s:l = 1 - ((0 * winheight(0) + 15) / 31)
127 if s:l < 1 | let s:l = 1 | endif 127 if s:l < 1 | let s:l = 1 | endif
128 exe s:l 128 exe s:l
129 normal! zt 129 normal! zt
130 28 130 1
131 normal! 0 131 normal! 0
132 wincmd w 132 wincmd w
133 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 133 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
134 exe '2resize ' . ((&lines * 35 + 35) / 70) 134 exe '2resize ' . ((&lines * 35 + 34) / 69)
135 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 135 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
136 exe '3resize ' . ((&lines * 32 + 35) / 70) 136 exe '3resize ' . ((&lines * 31 + 34) / 69)
137 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187) 137 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
138 tabedit source/sensors.c 138 tabedit source/sensors.c
139 set splitbelow splitright 139 set splitbelow splitright
140 wincmd _ | wincmd | 140 wincmd _ | wincmd |
141 vsplit 141 vsplit
147 wincmd w 147 wincmd w
148 set nosplitbelow 148 set nosplitbelow
149 wincmd t 149 wincmd t
150 set winheight=1 winwidth=1 150 set winheight=1 winwidth=1
151 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 151 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
152 exe '2resize ' . ((&lines * 21 + 35) / 70) 152 exe '2resize ' . ((&lines * 21 + 34) / 69)
153 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 153 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
154 exe '3resize ' . ((&lines * 46 + 35) / 70) 154 exe '3resize ' . ((&lines * 46 + 34) / 69)
155 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187) 155 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
156 " argglobal 156 " argglobal
157 setlocal fdm=syntax 157 setlocal fdm=syntax
158 setlocal fde=0 158 setlocal fde=0
159 setlocal fmr={{{,}}} 159 setlocal fmr={{{,}}}
166 silent! normal! zo 166 silent! normal! zo
167 64 167 64
168 silent! normal! zo 168 silent! normal! zo
169 61 169 61
170 normal! zc 170 normal! zc
171 let s:l = 42 - ((41 * winheight(0) + 34) / 68) 171 let s:l = 1 - ((0 * winheight(0) + 34) / 68)
172 if s:l < 1 | let s:l = 1 | endif 172 if s:l < 1 | let s:l = 1 | endif
173 exe s:l 173 exe s:l
174 normal! zt 174 normal! zt
175 42 175 1
176 normal! 01| 176 normal! 01|
177 wincmd w 177 wincmd w
178 " argglobal 178 " argglobal
179 edit source/sensors.h 179 edit source/sensors.h
180 setlocal fdm=manual 180 setlocal fdm=manual
184 setlocal fdl=0 184 setlocal fdl=0
185 setlocal fml=1 185 setlocal fml=1
186 setlocal fdn=20 186 setlocal fdn=20
187 setlocal fen 187 setlocal fen
188 silent! normal! zE 188 silent! normal! zE
189 let s:l = 63 - ((20 * winheight(0) + 10) / 21) 189 let s:l = 1 - ((0 * winheight(0) + 10) / 21)
190 if s:l < 1 | let s:l = 1 | endif 190 if s:l < 1 | let s:l = 1 | endif
191 exe s:l 191 exe s:l
192 normal! zt 192 normal! zt
193 63 193 1
194 normal! 039| 194 normal! 039|
195 wincmd w 195 wincmd w
196 " argglobal 196 " argglobal
197 edit source/main.c 197 edit source/main.c
198 setlocal fdm=syntax 198 setlocal fdm=syntax
207 silent! normal! zo 207 silent! normal! zo
208 31 208 31
209 silent! normal! zo 209 silent! normal! zo
210 54 210 54
211 silent! normal! zo 211 silent! normal! zo
212 let s:l = 43 - ((22 * winheight(0) + 23) / 46) 212 let s:l = 1 - ((0 * winheight(0) + 23) / 46)
213 if s:l < 1 | let s:l = 1 | endif 213 if s:l < 1 | let s:l = 1 | endif
214 exe s:l 214 exe s:l
215 normal! zt 215 normal! zt
216 43 216 1
217 normal! 033| 217 normal! 033|
218 wincmd w 218 wincmd w
219 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 219 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
220 exe '2resize ' . ((&lines * 21 + 35) / 70) 220 exe '2resize ' . ((&lines * 21 + 34) / 69)
221 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 221 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
222 exe '3resize ' . ((&lines * 46 + 35) / 70) 222 exe '3resize ' . ((&lines * 46 + 34) / 69)
223 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187) 223 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
224 tabedit debug/read_sensors.c
225 set splitbelow splitright
226 set nosplitbelow
227 wincmd t
228 set winheight=1 winwidth=1
229 " argglobal
230 setlocal fdm=syntax
231 setlocal fde=0
232 setlocal fmr={{{,}}}
233 setlocal fdi=#
234 setlocal fdl=0
235 setlocal fml=1
236 setlocal fdn=20
237 setlocal fen
238 11
239 silent! normal! zo
240 65
241 silent! normal! zo
242 71
243 silent! normal! zo
244 79
245 silent! normal! zo
246 let s:l = 76 - ((59 * winheight(0) + 34) / 68)
247 if s:l < 1 | let s:l = 1 | endif
248 exe s:l
249 normal! zt
250 76
251 normal! 015|
252 tabedit source/sensor_data.h 224 tabedit source/sensor_data.h
253 set splitbelow splitright 225 set splitbelow splitright
254 set nosplitbelow 226 set nosplitbelow
255 wincmd t 227 wincmd t
256 set winheight=1 winwidth=1 228 set winheight=1 winwidth=1
262 setlocal fdl=0 234 setlocal fdl=0
263 setlocal fml=1 235 setlocal fml=1
264 setlocal fdn=20 236 setlocal fdn=20
265 setlocal fen 237 setlocal fen
266 silent! normal! zE 238 silent! normal! zE
267 let s:l = 10 - ((9 * winheight(0) + 34) / 68) 239 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
268 if s:l < 1 | let s:l = 1 | endif 240 if s:l < 1 | let s:l = 1 | endif
269 exe s:l 241 exe s:l
270 normal! zt 242 normal! zt
271 10 243 1
272 normal! 0 244 normal! 0
273 tabedit source/Makefile 245 tabedit source/Makefile
274 set splitbelow splitright 246 set splitbelow splitright
275 wincmd _ | wincmd | 247 set nosplitbelow
276 vsplit 248 wincmd t
277 1wincmd h 249 set winheight=1 winwidth=1
278 wincmd w 250 " argglobal
279 set nosplitbelow 251 setlocal fdm=manual
280 wincmd t 252 setlocal fde=0
281 set winheight=1 winwidth=1 253 setlocal fmr={{{,}}}
282 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 254 setlocal fdi=#
283 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 255 setlocal fdl=0
284 " argglobal 256 setlocal fml=1
285 setlocal fdm=manual 257 setlocal fdn=20
286 setlocal fde=0 258 setlocal fen
287 setlocal fmr={{{,}}} 259 silent! normal! zE
288 setlocal fdi=# 260 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
289 setlocal fdl=0 261 if s:l < 1 | let s:l = 1 | endif
290 setlocal fml=1 262 exe s:l
291 setlocal fdn=20 263 normal! zt
292 setlocal fen 264 1
293 silent! normal! zE 265 normal! 0
294 let s:l = 25 - ((23 * winheight(0) + 34) / 68)
295 if s:l < 1 | let s:l = 1 | endif
296 exe s:l
297 normal! zt
298 25
299 normal! 017|
300 wincmd w
301 " argglobal
302 edit debug/Makefile
303 setlocal fdm=manual
304 setlocal fde=0
305 setlocal fmr={{{,}}}
306 setlocal fdi=#
307 setlocal fdl=0
308 setlocal fml=1
309 setlocal fdn=20
310 setlocal fen
311 silent! normal! zE
312 let s:l = 22 - ((21 * winheight(0) + 34) / 68)
313 if s:l < 1 | let s:l = 1 | endif
314 exe s:l
315 normal! zt
316 22
317 normal! 09|
318 wincmd w
319 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
320 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
321 tabedit STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h 266 tabedit STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h
322 set splitbelow splitright 267 set splitbelow splitright
323 set nosplitbelow 268 set nosplitbelow
324 wincmd t 269 wincmd t
325 set winheight=1 winwidth=1 270 set winheight=1 winwidth=1
331 setlocal fdl=0 276 setlocal fdl=0
332 setlocal fml=1 277 setlocal fml=1
333 setlocal fdn=20 278 setlocal fdn=20
334 setlocal fen 279 setlocal fen
335 silent! normal! zE 280 silent! normal! zE
336 let s:l = 478 - ((33 * winheight(0) + 34) / 68) 281 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
337 if s:l < 1 | let s:l = 1 | endif 282 if s:l < 1 | let s:l = 1 | endif
338 exe s:l 283 exe s:l
339 normal! zt 284 normal! zt
340 478 285 1
341 normal! 0 286 normal! 0
342 tabnext 3 287 tabnext 1
343 if exists('s:wipebuf') 288 if exists('s:wipebuf')
344 " silent exe 'bwipe ' . s:wipebuf 289 " silent exe 'bwipe ' . s:wipebuf
345 endif 290 endif
346 " unlet! s:wipebuf 291 " unlet! s:wipebuf
347 set winheight=1 winwidth=20 shortmess=filnxtToO 292 set winheight=1 winwidth=20 shortmess=filnxtToO
354 " Support for special windows like quick-fix and plug-in windows. 299 " Support for special windows like quick-fix and plug-in windows.
355 " Everything down here is generated by vim-session (not supported 300 " Everything down here is generated by vim-session (not supported
356 " by :mksession out of the box). 301 " by :mksession out of the box).
357 302
358 1wincmd w 303 1wincmd w
359 tabnext 3 304 tabnext 1
360 if exists('s:wipebuf') 305 if exists('s:wipebuf')
361 if empty(bufname(s:wipebuf)) 306 if empty(bufname(s:wipebuf))
362 if !getbufvar(s:wipebuf, '&modified') 307 if !getbufvar(s:wipebuf, '&modified')
363 let s:wipebuflines = getbufline(s:wipebuf, 1, '$') 308 let s:wipebuflines = getbufline(s:wipebuf, 1, '$')
364 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, '')) 309 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, ''))