Mercurial > dotfiles.old
comparison vim/sessions/quadcopter.vim @ 114:f87e9773c40a
Update wiki
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 08 Sep 2014 08:15:29 +0200 |
parents | dd76ef1174f1 |
children |
comparison
equal
deleted
inserted
replaced
113:6ea5a8011565 | 114:f87e9773c40a |
---|---|
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.6.1 on 27 juli 2014 at 23:46:20. | 3 " Created by session.vim 2.6.4 on 03 september 2014 at 17:47:19. |
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 |
22 cd ~/Documents/Projects/STM-Quadrocopter | 22 cd ~/Documents/Projects/STM-Quadrocopter |
23 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' | 23 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' |
24 let s:wipebuf = bufnr('%') | 24 let s:wipebuf = bufnr('%') |
25 endif | 25 endif |
26 set shortmess=aoO | 26 set shortmess=aoO |
27 badd +0 source/main.c | 27 badd +11 . |
28 badd +13 source/motors.c | 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 | |
29 badd +0 source/motors.h | 38 badd +0 source/motors.h |
30 badd +301 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_gpio.h | 39 badd +0 source/system.c |
31 badd +454 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_rcc.h | 40 badd +57 source/stm32f30x_it.c |
32 " argglobal | 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 | |
33 silent! argdel * | 48 silent! argdel * |
34 argadd . | 49 argadd . |
35 edit source/main.c | 50 edit source/sensors.c |
36 set splitbelow splitright | |
37 set nosplitbelow | |
38 wincmd t | |
39 set winheight=1 winwidth=1 | |
40 " argglobal | |
41 setlocal fdm=syntax | |
42 setlocal fde=0 | |
43 setlocal fmr={{{,}}} | |
44 setlocal fdi=# | |
45 setlocal fdl=0 | |
46 setlocal fml=1 | |
47 setlocal fdn=20 | |
48 setlocal fen | |
49 let s:l = 1 - ((0 * winheight(0) + 24) / 48) | |
50 if s:l < 1 | let s:l = 1 | endif | |
51 exe s:l | |
52 normal! zt | |
53 1 | |
54 normal! 01| | |
55 tabedit source/motors.c | |
56 set splitbelow splitright | 51 set splitbelow splitright |
57 wincmd _ | wincmd | | 52 wincmd _ | wincmd | |
58 vsplit | 53 vsplit |
59 1wincmd h | 54 1wincmd h |
60 wincmd w | 55 wincmd _ | wincmd | |
61 set nosplitbelow | 56 split |
62 wincmd t | 57 1wincmd k |
63 set winheight=1 winwidth=1 | 58 wincmd w |
64 exe 'vert 1resize ' . ((&columns * 91 + 92) / 184) | 59 wincmd w |
65 exe 'vert 2resize ' . ((&columns * 92 + 92) / 184) | 60 wincmd _ | wincmd | |
66 " argglobal | 61 split |
67 setlocal fdm=syntax | 62 1wincmd k |
68 setlocal fde=0 | 63 wincmd w |
69 setlocal fmr={{{,}}} | 64 set nosplitbelow |
70 setlocal fdi=# | 65 wincmd t |
71 setlocal fdl=0 | 66 set winheight=1 winwidth=1 |
72 setlocal fml=1 | 67 exe '1resize ' . ((&lines * 24 + 25) / 51) |
73 setlocal fdn=20 | 68 exe 'vert 1resize ' . ((&columns * 105 + 106) / 212) |
74 setlocal fen | 69 exe '2resize ' . ((&lines * 24 + 25) / 51) |
75 7 | 70 exe 'vert 2resize ' . ((&columns * 105 + 106) / 212) |
76 silent! normal! zo | 71 exe '3resize ' . ((&lines * 24 + 25) / 51) |
77 let s:l = 22 - ((4 * winheight(0) + 24) / 48) | 72 exe 'vert 3resize ' . ((&columns * 106 + 106) / 212) |
78 if s:l < 1 | let s:l = 1 | endif | 73 exe '4resize ' . ((&lines * 24 + 25) / 51) |
79 exe s:l | 74 exe 'vert 4resize ' . ((&columns * 106 + 106) / 212) |
80 normal! zt | 75 argglobal |
81 22 | 76 setlocal fdm=syntax |
82 normal! 046| | 77 setlocal fde=0 |
83 lcd ~/Documents/Projects/STM-Quadrocopter | 78 setlocal fmr={{{,}}} |
84 wincmd w | 79 setlocal fdi=# |
85 " argglobal | 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 | |
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 | |
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 | |
86 edit ~/Documents/Projects/STM-Quadrocopter/source/motors.h | 117 edit ~/Documents/Projects/STM-Quadrocopter/source/motors.h |
87 setlocal fdm=manual | 118 setlocal fdm=manual |
88 setlocal fde=0 | 119 setlocal fde=0 |
89 setlocal fmr={{{,}}} | 120 setlocal fmr={{{,}}} |
90 setlocal fdi=# | 121 setlocal fdi=# |
91 setlocal fdl=0 | 122 setlocal fdl=0 |
92 setlocal fml=1 | 123 setlocal fml=1 |
93 setlocal fdn=20 | 124 setlocal fdn=20 |
94 setlocal fen | 125 setlocal fen |
95 silent! normal! zE | 126 silent! normal! zE |
96 let s:l = 28 - ((27 * winheight(0) + 24) / 48) | 127 let s:l = 13 - ((12 * winheight(0) + 12) / 24) |
97 if s:l < 1 | let s:l = 1 | endif | 128 if s:l < 1 | let s:l = 1 | endif |
98 exe s:l | 129 exe s:l |
99 normal! zt | 130 normal! zt |
100 28 | 131 13 |
101 normal! 031| | 132 normal! 0 |
102 lcd ~/Documents/Projects/STM-Quadrocopter | 133 lcd ~/Documents/Projects/STM-Quadrocopter |
103 wincmd w | 134 wincmd w |
104 2wincmd w | 135 argglobal |
105 exe 'vert 1resize ' . ((&columns * 91 + 92) / 184) | 136 edit ~/Documents/Projects/STM-Quadrocopter/source/motors.c |
106 exe 'vert 2resize ' . ((&columns * 92 + 92) / 184) | 137 setlocal fdm=syntax |
107 tabnext 2 | 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) | |
146 if s:l < 1 | let s:l = 1 | endif | |
147 exe s:l | |
148 normal! zt | |
149 1 | |
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 | |
209 set splitbelow splitright | |
210 wincmd _ | wincmd | | |
211 vsplit | |
212 1wincmd h | |
213 wincmd w | |
214 set nosplitbelow | |
215 wincmd t | |
216 set winheight=1 winwidth=1 | |
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 | |
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 | |
254 let s:l = 1 - ((0 * winheight(0) + 24) / 49) | |
255 if s:l < 1 | let s:l = 1 | endif | |
256 exe s:l | |
257 normal! zt | |
258 1 | |
259 normal! 01| | |
260 lcd ~/Documents/Projects/STM-Quadrocopter | |
261 wincmd w | |
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 | |
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 | |
280 let s:l = 12 - ((4 * winheight(0) + 24) / 49) | |
281 if s:l < 1 | let s:l = 1 | endif | |
282 exe s:l | |
283 normal! zt | |
284 12 | |
285 normal! 07| | |
286 lcd ~/Documents/Projects/STM-Quadrocopter | |
287 2wincmd w | |
288 tabnext 1 | |
108 if exists('s:wipebuf') | 289 if exists('s:wipebuf') |
109 " silent exe 'bwipe ' . s:wipebuf | 290 " silent exe 'bwipe ' . s:wipebuf |
110 endif | 291 endif |
111 " unlet! s:wipebuf | 292 " unlet! s:wipebuf |
112 set winheight=1 winwidth=20 shortmess=filnxtToO | 293 set winheight=1 winwidth=20 shortmess=filnxtToO |
119 " Support for special windows like quick-fix and plug-in windows. | 300 " Support for special windows like quick-fix and plug-in windows. |
120 " Everything down here is generated by vim-session (not supported | 301 " Everything down here is generated by vim-session (not supported |
121 " by :mksession out of the box). | 302 " by :mksession out of the box). |
122 | 303 |
123 2wincmd w | 304 2wincmd w |
124 tabnext 2 | 305 tabnext 1 |
125 if exists('s:wipebuf') | 306 if exists('s:wipebuf') |
126 if empty(bufname(s:wipebuf)) | 307 if empty(bufname(s:wipebuf)) |
127 if !getbufvar(s:wipebuf, '&modified') | 308 if !getbufvar(s:wipebuf, '&modified') |
128 let s:wipebuflines = getbufline(s:wipebuf, 1, '$') | 309 let s:wipebuflines = getbufline(s:wipebuf, 1, '$') |
129 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, '')) | 310 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, '')) |