67
|
1 " ~/.dotfiles/vim/sessions/quadcopter.vim:
|
|
2 " Vim session script.
|
69
|
3 " Created by session.vim 2.4.14 on 26 juni 2014 at 18:27:48.
|
67
|
4 " Open this file in Vim and run :source % to restore your session.
|
|
5
|
|
6 set guioptions=egm
|
|
7 silent! set guifont=Inconsolata\ for\ Powerline:h12
|
|
8 if exists('g:syntax_on') != 1 | syntax on | endif
|
|
9 if exists('g:did_load_filetypes') != 1 | filetype on | endif
|
|
10 if exists('g:did_load_ftplugin') != 1 | filetype plugin on | endif
|
|
11 if exists('g:did_indent_on') != 1 | filetype indent on | endif
|
|
12 if &background != 'dark'
|
|
13 set background=dark
|
|
14 endif
|
|
15 if !exists('g:colors_name') || g:colors_name != 'hybrid' | colorscheme hybrid | endif
|
|
16 call setqflist([])
|
|
17 let SessionLoad = 1
|
|
18 if &cp | set nocp | endif
|
|
19 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
|
|
20 let v:this_session=expand("<sfile>:p")
|
|
21 silent only
|
|
22 cd ~/Documents/projects/STM-Quadcopter
|
|
23 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
|
24 let s:wipebuf = bufnr('%')
|
|
25 endif
|
|
26 set shortmess=aoO
|
69
|
27 badd +45 source/sensors.c
|
|
28 badd +27 source/main.c
|
67
|
29 badd +81 source/bluetooth.c
|
|
30 badd +44 Makefile
|
69
|
31 badd +54 source/Makefile
|
67
|
32 badd +55 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_dma.h
|
69
|
33 badd +442 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_dma.c
|
67
|
34 badd +1 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery.c
|
|
35 badd +39 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_l3gd20.h
|
|
36 badd +13 source/sensors.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
|
69
|
39 badd +1 ~/Documents/projects/STM-Quadcopter
|
|
40 badd +1 source/bluetooth.h
|
|
41 badd +1 source/sensor_data.h
|
|
42 badd +1 debug/read_sensors.c
|
|
43 badd +1 debug/Makefile
|
|
44 badd +0 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h
|
67
|
45 " argglobal
|
|
46 silent! argdel *
|
69
|
47 argadd ~/Documents/projects/STM-Quadcopter
|
67
|
48 edit source/main.c
|
|
49 set splitbelow splitright
|
|
50 wincmd _ | wincmd |
|
|
51 vsplit
|
|
52 1wincmd h
|
|
53 wincmd w
|
|
54 wincmd _ | wincmd |
|
|
55 split
|
|
56 1wincmd k
|
|
57 wincmd w
|
|
58 set nosplitbelow
|
|
59 wincmd t
|
|
60 set winheight=1 winwidth=1
|
|
61 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
|
69
|
62 exe '2resize ' . ((&lines * 35 + 35) / 70)
|
67
|
63 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
69
|
64 exe '3resize ' . ((&lines * 32 + 35) / 70)
|
67
|
65 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
|
|
66 " argglobal
|
|
67 setlocal fdm=syntax
|
|
68 setlocal fde=0
|
|
69 setlocal fmr={{{,}}}
|
|
70 setlocal fdi=#
|
|
71 setlocal fdl=2
|
|
72 setlocal fml=1
|
|
73 setlocal fdn=20
|
|
74 setlocal fen
|
69
|
75 17
|
67
|
76 silent! normal! zo
|
69
|
77 31
|
67
|
78 silent! normal! zo
|
69
|
79 54
|
67
|
80 silent! normal! zo
|
69
|
81 let s:l = 49 - ((33 * winheight(0) + 34) / 68)
|
67
|
82 if s:l < 1 | let s:l = 1 | endif
|
|
83 exe s:l
|
|
84 normal! zt
|
69
|
85 49
|
67
|
86 normal! 0
|
|
87 wincmd w
|
|
88 " argglobal
|
|
89 edit source/bluetooth.c
|
|
90 setlocal fdm=syntax
|
|
91 setlocal fde=0
|
|
92 setlocal fmr={{{,}}}
|
|
93 setlocal fdi=#
|
|
94 setlocal fdl=3
|
|
95 setlocal fml=1
|
|
96 setlocal fdn=20
|
|
97 setlocal fen
|
|
98 55
|
|
99 normal! zc
|
|
100 72
|
|
101 normal! zc
|
|
102 80
|
|
103 silent! normal! zo
|
69
|
104 97
|
67
|
105 normal! zc
|
69
|
106 108
|
67
|
107 silent! normal! zo
|
69
|
108 let s:l = 91 - ((47 * winheight(0) + 17) / 35)
|
67
|
109 if s:l < 1 | let s:l = 1 | endif
|
|
110 exe s:l
|
|
111 normal! zt
|
69
|
112 91
|
|
113 normal! 018|
|
67
|
114 wincmd w
|
|
115 " argglobal
|
|
116 edit source/bluetooth.h
|
|
117 setlocal fdm=manual
|
|
118 setlocal fde=0
|
|
119 setlocal fmr={{{,}}}
|
|
120 setlocal fdi=#
|
|
121 setlocal fdl=0
|
|
122 setlocal fml=1
|
|
123 setlocal fdn=20
|
|
124 setlocal fen
|
|
125 silent! normal! zE
|
69
|
126 let s:l = 28 - ((2 * winheight(0) + 16) / 32)
|
67
|
127 if s:l < 1 | let s:l = 1 | endif
|
|
128 exe s:l
|
|
129 normal! zt
|
69
|
130 28
|
67
|
131 normal! 0
|
|
132 wincmd w
|
|
133 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
|
69
|
134 exe '2resize ' . ((&lines * 35 + 35) / 70)
|
67
|
135 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
69
|
136 exe '3resize ' . ((&lines * 32 + 35) / 70)
|
67
|
137 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
|
|
138 tabedit source/sensors.c
|
|
139 set splitbelow splitright
|
|
140 wincmd _ | wincmd |
|
|
141 vsplit
|
|
142 1wincmd h
|
|
143 wincmd w
|
|
144 wincmd _ | wincmd |
|
|
145 split
|
|
146 1wincmd k
|
|
147 wincmd w
|
|
148 set nosplitbelow
|
|
149 wincmd t
|
|
150 set winheight=1 winwidth=1
|
|
151 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
|
69
|
152 exe '2resize ' . ((&lines * 21 + 35) / 70)
|
67
|
153 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
69
|
154 exe '3resize ' . ((&lines * 46 + 35) / 70)
|
67
|
155 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
|
|
156 " argglobal
|
|
157 setlocal fdm=syntax
|
|
158 setlocal fde=0
|
|
159 setlocal fmr={{{,}}}
|
|
160 setlocal fdi=#
|
|
161 setlocal fdl=0
|
|
162 setlocal fml=1
|
|
163 setlocal fdn=20
|
|
164 setlocal fen
|
69
|
165 61
|
|
166 silent! normal! zo
|
|
167 64
|
|
168 silent! normal! zo
|
|
169 61
|
|
170 normal! zc
|
|
171 let s:l = 42 - ((41 * winheight(0) + 34) / 68)
|
67
|
172 if s:l < 1 | let s:l = 1 | endif
|
|
173 exe s:l
|
|
174 normal! zt
|
69
|
175 42
|
67
|
176 normal! 01|
|
|
177 wincmd w
|
|
178 " argglobal
|
|
179 edit source/sensors.h
|
|
180 setlocal fdm=manual
|
|
181 setlocal fde=0
|
|
182 setlocal fmr={{{,}}}
|
|
183 setlocal fdi=#
|
|
184 setlocal fdl=0
|
|
185 setlocal fml=1
|
|
186 setlocal fdn=20
|
|
187 setlocal fen
|
|
188 silent! normal! zE
|
69
|
189 let s:l = 63 - ((20 * winheight(0) + 10) / 21)
|
67
|
190 if s:l < 1 | let s:l = 1 | endif
|
|
191 exe s:l
|
|
192 normal! zt
|
69
|
193 63
|
|
194 normal! 039|
|
67
|
195 wincmd w
|
|
196 " argglobal
|
|
197 edit source/main.c
|
|
198 setlocal fdm=syntax
|
|
199 setlocal fde=0
|
|
200 setlocal fmr={{{,}}}
|
|
201 setlocal fdi=#
|
|
202 setlocal fdl=1
|
|
203 setlocal fml=1
|
|
204 setlocal fdn=20
|
|
205 setlocal fen
|
69
|
206 17
|
|
207 silent! normal! zo
|
|
208 31
|
67
|
209 silent! normal! zo
|
69
|
210 54
|
67
|
211 silent! normal! zo
|
69
|
212 let s:l = 43 - ((22 * winheight(0) + 23) / 46)
|
67
|
213 if s:l < 1 | let s:l = 1 | endif
|
|
214 exe s:l
|
|
215 normal! zt
|
69
|
216 43
|
|
217 normal! 033|
|
67
|
218 wincmd w
|
|
219 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
|
69
|
220 exe '2resize ' . ((&lines * 21 + 35) / 70)
|
67
|
221 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
69
|
222 exe '3resize ' . ((&lines * 46 + 35) / 70)
|
67
|
223 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
|
69
|
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
|
|
253 set splitbelow splitright
|
|
254 set nosplitbelow
|
|
255 wincmd t
|
|
256 set winheight=1 winwidth=1
|
|
257 " argglobal
|
|
258 setlocal fdm=manual
|
|
259 setlocal fde=0
|
|
260 setlocal fmr={{{,}}}
|
|
261 setlocal fdi=#
|
|
262 setlocal fdl=0
|
|
263 setlocal fml=1
|
|
264 setlocal fdn=20
|
|
265 setlocal fen
|
|
266 silent! normal! zE
|
|
267 let s:l = 10 - ((9 * winheight(0) + 34) / 68)
|
|
268 if s:l < 1 | let s:l = 1 | endif
|
|
269 exe s:l
|
|
270 normal! zt
|
|
271 10
|
|
272 normal! 0
|
|
273 tabedit source/Makefile
|
67
|
274 set splitbelow splitright
|
|
275 wincmd _ | wincmd |
|
|
276 vsplit
|
|
277 1wincmd h
|
|
278 wincmd w
|
|
279 set nosplitbelow
|
|
280 wincmd t
|
|
281 set winheight=1 winwidth=1
|
|
282 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
|
|
283 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
|
284 " argglobal
|
|
285 setlocal fdm=manual
|
|
286 setlocal fde=0
|
|
287 setlocal fmr={{{,}}}
|
|
288 setlocal fdi=#
|
|
289 setlocal fdl=0
|
|
290 setlocal fml=1
|
|
291 setlocal fdn=20
|
|
292 setlocal fen
|
|
293 silent! normal! zE
|
69
|
294 let s:l = 25 - ((23 * winheight(0) + 34) / 68)
|
67
|
295 if s:l < 1 | let s:l = 1 | endif
|
|
296 exe s:l
|
|
297 normal! zt
|
69
|
298 25
|
|
299 normal! 017|
|
67
|
300 wincmd w
|
|
301 " argglobal
|
69
|
302 edit debug/Makefile
|
|
303 setlocal fdm=manual
|
67
|
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
|
69
|
311 silent! normal! zE
|
|
312 let s:l = 22 - ((21 * winheight(0) + 34) / 68)
|
67
|
313 if s:l < 1 | let s:l = 1 | endif
|
|
314 exe s:l
|
|
315 normal! zt
|
69
|
316 22
|
|
317 normal! 09|
|
67
|
318 wincmd w
|
|
319 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
|
|
320 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
69
|
321 tabedit STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h
|
67
|
322 set splitbelow splitright
|
|
323 set nosplitbelow
|
|
324 wincmd t
|
|
325 set winheight=1 winwidth=1
|
|
326 " argglobal
|
|
327 setlocal fdm=manual
|
|
328 setlocal fde=0
|
|
329 setlocal fmr={{{,}}}
|
|
330 setlocal fdi=#
|
|
331 setlocal fdl=0
|
|
332 setlocal fml=1
|
|
333 setlocal fdn=20
|
|
334 setlocal fen
|
|
335 silent! normal! zE
|
69
|
336 let s:l = 478 - ((33 * winheight(0) + 34) / 68)
|
67
|
337 if s:l < 1 | let s:l = 1 | endif
|
|
338 exe s:l
|
|
339 normal! zt
|
69
|
340 478
|
67
|
341 normal! 0
|
69
|
342 tabnext 3
|
67
|
343 if exists('s:wipebuf')
|
|
344 " silent exe 'bwipe ' . s:wipebuf
|
|
345 endif
|
|
346 " unlet! s:wipebuf
|
|
347 set winheight=1 winwidth=20 shortmess=filnxtToO
|
|
348 let s:sx = expand("<sfile>:p:r")."x.vim"
|
|
349 if file_readable(s:sx)
|
|
350 exe "source " . fnameescape(s:sx)
|
|
351 endif
|
|
352 let &so = s:so_save | let &siso = s:siso_save
|
|
353
|
|
354 " Support for special windows like quick-fix and plug-in windows.
|
|
355 " Everything down here is generated by vim-session (not supported
|
|
356 " by :mksession out of the box).
|
|
357
|
69
|
358 1wincmd w
|
|
359 tabnext 3
|
67
|
360 if exists('s:wipebuf')
|
|
361 if empty(bufname(s:wipebuf))
|
|
362 if !getbufvar(s:wipebuf, '&modified')
|
|
363 let s:wipebuflines = getbufline(s:wipebuf, 1, '$')
|
|
364 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, ''))
|
|
365 silent execute 'bwipeout' s:wipebuf
|
|
366 endif
|
|
367 endif
|
|
368 endif
|
|
369 endif
|
|
370 doautoall SessionLoadPost
|
|
371 unlet SessionLoad
|
|
372 " vim: ft=vim ro nowrap smc=128
|