67
|
1 " ~/.dotfiles/vim/sessions/quadcopter.vim:
|
|
2 " Vim session script.
|
77
|
3 " Created by session.vim 2.4.14 on 28 juni 2014 at 16:21:41.
|
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
|
77
|
42 badd +84 debug/read_sensors.c
|
|
43 badd +22 debug/Makefile
|
69
|
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)
|
77
|
62 exe '2resize ' . ((&lines * 35 + 34) / 69)
|
67
|
63 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
77
|
64 exe '3resize ' . ((&lines * 31 + 34) / 69)
|
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
|
77
|
77 29
|
67
|
78 silent! normal! zo
|
77
|
79 51
|
67
|
80 silent! normal! zo
|
77
|
81 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
|
67
|
82 if s:l < 1 | let s:l = 1 | endif
|
|
83 exe s:l
|
|
84 normal! zt
|
77
|
85 1
|
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
|
77
|
108 let s:l = 1 - ((0 * winheight(0) + 17) / 35)
|
67
|
109 if s:l < 1 | let s:l = 1 | endif
|
|
110 exe s:l
|
|
111 normal! zt
|
77
|
112 1
|
69
|
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
|
77
|
126 let s:l = 1 - ((0 * winheight(0) + 15) / 31)
|
67
|
127 if s:l < 1 | let s:l = 1 | endif
|
|
128 exe s:l
|
|
129 normal! zt
|
77
|
130 1
|
67
|
131 normal! 0
|
|
132 wincmd w
|
|
133 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
|
77
|
134 exe '2resize ' . ((&lines * 35 + 34) / 69)
|
67
|
135 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
77
|
136 exe '3resize ' . ((&lines * 31 + 34) / 69)
|
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)
|
77
|
152 exe '2resize ' . ((&lines * 21 + 34) / 69)
|
67
|
153 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
77
|
154 exe '3resize ' . ((&lines * 46 + 34) / 69)
|
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
|
77
|
171 let s:l = 1 - ((0 * winheight(0) + 34) / 68)
|
67
|
172 if s:l < 1 | let s:l = 1 | endif
|
|
173 exe s:l
|
|
174 normal! zt
|
77
|
175 1
|
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
|
77
|
189 let s:l = 1 - ((0 * winheight(0) + 10) / 21)
|
67
|
190 if s:l < 1 | let s:l = 1 | endif
|
|
191 exe s:l
|
|
192 normal! zt
|
77
|
193 1
|
69
|
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
|
77
|
212 let s:l = 1 - ((0 * winheight(0) + 23) / 46)
|
67
|
213 if s:l < 1 | let s:l = 1 | endif
|
|
214 exe s:l
|
|
215 normal! zt
|
77
|
216 1
|
69
|
217 normal! 033|
|
67
|
218 wincmd w
|
|
219 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
|
77
|
220 exe '2resize ' . ((&lines * 21 + 34) / 69)
|
67
|
221 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
|
77
|
222 exe '3resize ' . ((&lines * 46 + 34) / 69)
|
67
|
223 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
|
69
|
224 tabedit source/sensor_data.h
|
|
225 set splitbelow splitright
|
|
226 set nosplitbelow
|
|
227 wincmd t
|
|
228 set winheight=1 winwidth=1
|
|
229 " argglobal
|
|
230 setlocal fdm=manual
|
|
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 silent! normal! zE
|
77
|
239 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
|
69
|
240 if s:l < 1 | let s:l = 1 | endif
|
|
241 exe s:l
|
|
242 normal! zt
|
77
|
243 1
|
69
|
244 normal! 0
|
|
245 tabedit source/Makefile
|
67
|
246 set splitbelow splitright
|
|
247 set nosplitbelow
|
|
248 wincmd t
|
|
249 set winheight=1 winwidth=1
|
|
250 " argglobal
|
|
251 setlocal fdm=manual
|
|
252 setlocal fde=0
|
|
253 setlocal fmr={{{,}}}
|
|
254 setlocal fdi=#
|
|
255 setlocal fdl=0
|
|
256 setlocal fml=1
|
|
257 setlocal fdn=20
|
|
258 setlocal fen
|
|
259 silent! normal! zE
|
77
|
260 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
|
67
|
261 if s:l < 1 | let s:l = 1 | endif
|
|
262 exe s:l
|
|
263 normal! zt
|
77
|
264 1
|
|
265 normal! 0
|
69
|
266 tabedit STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h
|
67
|
267 set splitbelow splitright
|
|
268 set nosplitbelow
|
|
269 wincmd t
|
|
270 set winheight=1 winwidth=1
|
|
271 " argglobal
|
|
272 setlocal fdm=manual
|
|
273 setlocal fde=0
|
|
274 setlocal fmr={{{,}}}
|
|
275 setlocal fdi=#
|
|
276 setlocal fdl=0
|
|
277 setlocal fml=1
|
|
278 setlocal fdn=20
|
|
279 setlocal fen
|
|
280 silent! normal! zE
|
77
|
281 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
|
67
|
282 if s:l < 1 | let s:l = 1 | endif
|
|
283 exe s:l
|
|
284 normal! zt
|
77
|
285 1
|
67
|
286 normal! 0
|
77
|
287 tabnext 1
|
67
|
288 if exists('s:wipebuf')
|
|
289 " silent exe 'bwipe ' . s:wipebuf
|
|
290 endif
|
|
291 " unlet! s:wipebuf
|
|
292 set winheight=1 winwidth=20 shortmess=filnxtToO
|
|
293 let s:sx = expand("<sfile>:p:r")."x.vim"
|
|
294 if file_readable(s:sx)
|
|
295 exe "source " . fnameescape(s:sx)
|
|
296 endif
|
|
297 let &so = s:so_save | let &siso = s:siso_save
|
|
298
|
|
299 " Support for special windows like quick-fix and plug-in windows.
|
|
300 " Everything down here is generated by vim-session (not supported
|
|
301 " by :mksession out of the box).
|
|
302
|
69
|
303 1wincmd w
|
77
|
304 tabnext 1
|
67
|
305 if exists('s:wipebuf')
|
|
306 if empty(bufname(s:wipebuf))
|
|
307 if !getbufvar(s:wipebuf, '&modified')
|
|
308 let s:wipebuflines = getbufline(s:wipebuf, 1, '$')
|
|
309 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, ''))
|
|
310 silent execute 'bwipeout' s:wipebuf
|
|
311 endif
|
|
312 endif
|
|
313 endif
|
|
314 endif
|
|
315 doautoall SessionLoadPost
|
|
316 unlet SessionLoad
|
|
317 " vim: ft=vim ro nowrap smc=128
|