67
|
1 " ~/.dotfiles/vim/sessions/quadcopter.vim:
|
|
2 " Vim session script.
|
114
|
3 " Created by session.vim 2.6.4 on 03 september 2014 at 17:47:19.
|
67
|
4 " Open this file in Vim and run :source % to restore your session.
|
|
5
|
83
|
6 set guioptions=egm
|
|
7 silent! set guifont=Inconsolata\ for\ Powerline:h12
|
67
|
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
|
83
|
12 if &background != 'dark'
|
|
13 set background=dark
|
67
|
14 endif
|
|
15 if !exists('g:colors_name') || g:colors_name != 'hybrid' | colorscheme hybrid | endif
|
83
|
16 call setqflist([])
|
67
|
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
|
82
|
22 cd ~/Documents/Projects/STM-Quadrocopter
|
67
|
23 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
|
24 let s:wipebuf = bufnr('%')
|
|
25 endif
|
|
26 set shortmess=aoO
|
114
|
27 badd +11 .
|
|
28 badd +252 source/sensors.c
|
|
29 badd +90 source/main.c
|
|
30 badd +47 app/main.py
|
|
31 badd +61 app/BluetoothThread.py
|
|
32 badd +0 source/sensors.h
|
|
33 badd +1 source/motors.c
|
|
34 badd +426 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_rcc.h
|
|
35 badd +27 README.md
|
|
36 badd +1014 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_tim.h
|
|
37 badd +349 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_tim.c
|
81
|
38 badd +0 source/motors.h
|
114
|
39 badd +0 source/system.c
|
|
40 badd +57 source/stm32f30x_it.c
|
|
41 badd +522 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_adc.h
|
|
42 badd +694 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_adc.c
|
|
43 badd +56 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_misc.h
|
|
44 badd +230 STM32F3-Discovery_FW_V1.1.0/Libraries/CMSIS/Device/ST/STM32F30x/Include/stm32f30x.h
|
|
45 badd +306 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_gpio.h
|
|
46 badd +228 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_gpio.c
|
|
47 argglobal
|
67
|
48 silent! argdel *
|
81
|
49 argadd .
|
114
|
50 edit source/sensors.c
|
67
|
51 set splitbelow splitright
|
114
|
52 wincmd _ | wincmd |
|
|
53 vsplit
|
|
54 1wincmd h
|
|
55 wincmd _ | wincmd |
|
|
56 split
|
|
57 1wincmd k
|
|
58 wincmd w
|
|
59 wincmd w
|
|
60 wincmd _ | wincmd |
|
|
61 split
|
|
62 1wincmd k
|
|
63 wincmd w
|
67
|
64 set nosplitbelow
|
|
65 wincmd t
|
|
66 set winheight=1 winwidth=1
|
114
|
67 exe '1resize ' . ((&lines * 24 + 25) / 51)
|
|
68 exe 'vert 1resize ' . ((&columns * 105 + 106) / 212)
|
|
69 exe '2resize ' . ((&lines * 24 + 25) / 51)
|
|
70 exe 'vert 2resize ' . ((&columns * 105 + 106) / 212)
|
|
71 exe '3resize ' . ((&lines * 24 + 25) / 51)
|
|
72 exe 'vert 3resize ' . ((&columns * 106 + 106) / 212)
|
|
73 exe '4resize ' . ((&lines * 24 + 25) / 51)
|
|
74 exe 'vert 4resize ' . ((&columns * 106 + 106) / 212)
|
|
75 argglobal
|
|
76 setlocal fdm=syntax
|
|
77 setlocal fde=0
|
|
78 setlocal fmr={{{,}}}
|
|
79 setlocal fdi=#
|
|
80 setlocal fdl=0
|
|
81 setlocal fml=1
|
|
82 setlocal fdn=20
|
|
83 setlocal fen
|
|
84 143
|
|
85 silent! normal! zo
|
|
86 201
|
|
87 silent! normal! zo
|
|
88 let s:l = 149 - ((5 * winheight(0) + 12) / 24)
|
|
89 if s:l < 1 | let s:l = 1 | endif
|
|
90 exe s:l
|
|
91 normal! zt
|
|
92 149
|
|
93 normal! 0
|
|
94 lcd ~/Documents/Projects/STM-Quadrocopter
|
|
95 wincmd w
|
|
96 argglobal
|
|
97 edit ~/Documents/Projects/STM-Quadrocopter/source/sensors.c
|
67
|
98 setlocal fdm=syntax
|
|
99 setlocal fde=0
|
|
100 setlocal fmr={{{,}}}
|
|
101 setlocal fdi=#
|
|
102 setlocal fdl=0
|
|
103 setlocal fml=1
|
|
104 setlocal fdn=20
|
|
105 setlocal fen
|
114
|
106 201
|
|
107 silent! normal! zo
|
|
108 let s:l = 253 - ((5 * winheight(0) + 12) / 24)
|
|
109 if s:l < 1 | let s:l = 1 | endif
|
|
110 exe s:l
|
|
111 normal! zt
|
|
112 253
|
|
113 normal! 039|
|
|
114 lcd ~/Documents/Projects/STM-Quadrocopter
|
|
115 wincmd w
|
|
116 argglobal
|
|
117 edit ~/Documents/Projects/STM-Quadrocopter/source/motors.h
|
|
118 setlocal fdm=manual
|
|
119 setlocal fde=0
|
|
120 setlocal fmr={{{,}}}
|
|
121 setlocal fdi=#
|
|
122 setlocal fdl=0
|
|
123 setlocal fml=1
|
|
124 setlocal fdn=20
|
|
125 setlocal fen
|
|
126 silent! normal! zE
|
|
127 let s:l = 13 - ((12 * winheight(0) + 12) / 24)
|
|
128 if s:l < 1 | let s:l = 1 | endif
|
|
129 exe s:l
|
|
130 normal! zt
|
|
131 13
|
|
132 normal! 0
|
|
133 lcd ~/Documents/Projects/STM-Quadrocopter
|
|
134 wincmd w
|
|
135 argglobal
|
|
136 edit ~/Documents/Projects/STM-Quadrocopter/source/motors.c
|
|
137 setlocal fdm=syntax
|
|
138 setlocal fde=0
|
|
139 setlocal fmr={{{,}}}
|
|
140 setlocal fdi=#
|
|
141 setlocal fdl=0
|
|
142 setlocal fml=1
|
|
143 setlocal fdn=20
|
|
144 setlocal fen
|
|
145 let s:l = 1 - ((0 * winheight(0) + 12) / 24)
|
67
|
146 if s:l < 1 | let s:l = 1 | endif
|
|
147 exe s:l
|
|
148 normal! zt
|
83
|
149 1
|
114
|
150 normal! 0
|
|
151 lcd ~/Documents/Projects/STM-Quadrocopter
|
|
152 wincmd w
|
|
153 2wincmd w
|
|
154 exe '1resize ' . ((&lines * 24 + 25) / 51)
|
|
155 exe 'vert 1resize ' . ((&columns * 105 + 106) / 212)
|
|
156 exe '2resize ' . ((&lines * 24 + 25) / 51)
|
|
157 exe 'vert 2resize ' . ((&columns * 105 + 106) / 212)
|
|
158 exe '3resize ' . ((&lines * 24 + 25) / 51)
|
|
159 exe 'vert 3resize ' . ((&columns * 106 + 106) / 212)
|
|
160 exe '4resize ' . ((&lines * 24 + 25) / 51)
|
|
161 exe 'vert 4resize ' . ((&columns * 106 + 106) / 212)
|
|
162 tabedit ~/Documents/Projects/STM-Quadrocopter/source/system.c
|
|
163 set splitbelow splitright
|
|
164 set nosplitbelow
|
|
165 wincmd t
|
|
166 set winheight=1 winwidth=1
|
|
167 argglobal
|
|
168 setlocal fdm=manual
|
|
169 setlocal fde=0
|
|
170 setlocal fmr={{{,}}}
|
|
171 setlocal fdi=#
|
|
172 setlocal fdl=0
|
|
173 setlocal fml=1
|
|
174 setlocal fdn=20
|
|
175 setlocal fen
|
|
176 silent! normal! zE
|
|
177 let s:l = 30 - ((29 * winheight(0) + 24) / 49)
|
|
178 if s:l < 1 | let s:l = 1 | endif
|
|
179 exe s:l
|
|
180 normal! zt
|
|
181 30
|
|
182 normal! 03|
|
|
183 lcd ~/Documents/Projects/STM-Quadrocopter
|
|
184 2wincmd w
|
|
185 tabedit ~/Documents/Projects/STM-Quadrocopter/source/sensors.h
|
|
186 set splitbelow splitright
|
|
187 set nosplitbelow
|
|
188 wincmd t
|
|
189 set winheight=1 winwidth=1
|
|
190 argglobal
|
|
191 setlocal fdm=manual
|
|
192 setlocal fde=0
|
|
193 setlocal fmr={{{,}}}
|
|
194 setlocal fdi=#
|
|
195 setlocal fdl=0
|
|
196 setlocal fml=1
|
|
197 setlocal fdn=20
|
|
198 setlocal fen
|
|
199 silent! normal! zE
|
|
200 let s:l = 1 - ((0 * winheight(0) + 24) / 49)
|
|
201 if s:l < 1 | let s:l = 1 | endif
|
|
202 exe s:l
|
|
203 normal! zt
|
|
204 1
|
|
205 normal! 029|
|
|
206 lcd ~/Documents/Projects/STM-Quadrocopter
|
|
207 2wincmd w
|
|
208 tabedit ~/Documents/Projects/STM-Quadrocopter/source/stm32f30x_it.c
|
69
|
209 set splitbelow splitright
|
83
|
210 wincmd _ | wincmd |
|
|
211 vsplit
|
|
212 1wincmd h
|
|
213 wincmd w
|
69
|
214 set nosplitbelow
|
|
215 wincmd t
|
|
216 set winheight=1 winwidth=1
|
114
|
217 exe 'vert 1resize ' . ((&columns * 105 + 106) / 212)
|
|
218 exe 'vert 2resize ' . ((&columns * 106 + 106) / 212)
|
|
219 argglobal
|
|
220 setlocal fdm=syntax
|
|
221 setlocal fde=0
|
|
222 setlocal fmr={{{,}}}
|
|
223 setlocal fdi=#
|
|
224 setlocal fdl=0
|
|
225 setlocal fml=1
|
|
226 setlocal fdn=20
|
|
227 setlocal fen
|
|
228 57
|
|
229 silent! normal! zo
|
|
230 57
|
|
231 normal! zc
|
|
232 71
|
|
233 silent! normal! zo
|
|
234 let s:l = 72 - ((71 * winheight(0) + 24) / 49)
|
|
235 if s:l < 1 | let s:l = 1 | endif
|
|
236 exe s:l
|
|
237 normal! zt
|
|
238 72
|
|
239 normal! 023|
|
|
240 lcd ~/Documents/Projects/STM-Quadrocopter
|
|
241 wincmd w
|
|
242 argglobal
|
|
243 edit ~/Documents/Projects/STM-Quadrocopter/source/system.c
|
83
|
244 setlocal fdm=syntax
|
|
245 setlocal fde=0
|
|
246 setlocal fmr={{{,}}}
|
|
247 setlocal fdi=#
|
|
248 setlocal fdl=0
|
|
249 setlocal fml=1
|
|
250 setlocal fdn=20
|
|
251 setlocal fen
|
|
252 7
|
|
253 silent! normal! zo
|
114
|
254 let s:l = 1 - ((0 * winheight(0) + 24) / 49)
|
83
|
255 if s:l < 1 | let s:l = 1 | endif
|
|
256 exe s:l
|
|
257 normal! zt
|
114
|
258 1
|
|
259 normal! 01|
|
83
|
260 lcd ~/Documents/Projects/STM-Quadrocopter
|
|
261 wincmd w
|
114
|
262 2wincmd w
|
|
263 exe 'vert 1resize ' . ((&columns * 105 + 106) / 212)
|
|
264 exe 'vert 2resize ' . ((&columns * 106 + 106) / 212)
|
|
265 tabedit ~/Documents/Projects/STM-Quadrocopter/README.md
|
|
266 set splitbelow splitright
|
|
267 set nosplitbelow
|
|
268 wincmd t
|
|
269 set winheight=1 winwidth=1
|
|
270 argglobal
|
69
|
271 setlocal fdm=manual
|
|
272 setlocal fde=0
|
|
273 setlocal fmr={{{,}}}
|
|
274 setlocal fdi=#
|
|
275 setlocal fdl=0
|
|
276 setlocal fml=1
|
|
277 setlocal fdn=20
|
|
278 setlocal fen
|
|
279 silent! normal! zE
|
114
|
280 let s:l = 12 - ((4 * winheight(0) + 24) / 49)
|
67
|
281 if s:l < 1 | let s:l = 1 | endif
|
|
282 exe s:l
|
|
283 normal! zt
|
114
|
284 12
|
|
285 normal! 07|
|
83
|
286 lcd ~/Documents/Projects/STM-Quadrocopter
|
81
|
287 2wincmd w
|
114
|
288 tabnext 1
|
67
|
289 if exists('s:wipebuf')
|
|
290 " silent exe 'bwipe ' . s:wipebuf
|
|
291 endif
|
|
292 " unlet! s:wipebuf
|
83
|
293 set winheight=1 winwidth=20 shortmess=filnxtToO
|
67
|
294 let s:sx = expand("<sfile>:p:r")."x.vim"
|
|
295 if file_readable(s:sx)
|
|
296 exe "source " . fnameescape(s:sx)
|
|
297 endif
|
|
298 let &so = s:so_save | let &siso = s:siso_save
|
|
299
|
|
300 " Support for special windows like quick-fix and plug-in windows.
|
|
301 " Everything down here is generated by vim-session (not supported
|
|
302 " by :mksession out of the box).
|
|
303
|
81
|
304 2wincmd w
|
114
|
305 tabnext 1
|
67
|
306 if exists('s:wipebuf')
|
|
307 if empty(bufname(s:wipebuf))
|
|
308 if !getbufvar(s:wipebuf, '&modified')
|
|
309 let s:wipebuflines = getbufline(s:wipebuf, 1, '$')
|
|
310 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, ''))
|
|
311 silent execute 'bwipeout' s:wipebuf
|
|
312 endif
|
|
313 endif
|
|
314 endif
|
|
315 endif
|
|
316 doautoall SessionLoadPost
|
|
317 unlet SessionLoad
|
|
318 " vim: ft=vim ro nowrap smc=128
|