comparison vim/sessions/quadcopter.vim @ 69:ce5c457bde68

Update plugins
author zegervdv <zegervdv@me.com>
date Thu, 26 Jun 2014 18:27:57 +0200
parents fd46739dc0bb
children 66a2625f4a4c
comparison
equal deleted inserted replaced
68:f0f6338cbec8 69:ce5c457bde68
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.11 on 23 juni 2014 at 12:32:25. 3 " Created by session.vim 2.4.14 on 26 juni 2014 at 18:27:48.
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-Quadcopter 22 cd ~/Documents/projects/STM-Quadcopter
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 +40 source/main.c 27 badd +45 source/sensors.c
28 badd +27 source/main.c
28 badd +81 source/bluetooth.c 29 badd +81 source/bluetooth.c
29 badd +44 Makefile 30 badd +44 Makefile
30 badd +19 source/Makefile 31 badd +54 source/Makefile
31 badd +55 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_dma.h 32 badd +55 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_dma.h
32 badd +1 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_dma.c 33 badd +442 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_dma.c
33 badd +1 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery.c 34 badd +1 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery.c
34 badd +39 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_l3gd20.h 35 badd +39 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_l3gd20.h
35 badd +1 source/sensors.c
36 badd +13 source/sensors.h 36 badd +13 source/sensors.h
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 +0 ./ 39 badd +1 ~/Documents/projects/STM-Quadcopter
40 badd +0 source/bluetooth.h 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
41 " argglobal 45 " argglobal
42 silent! argdel * 46 silent! argdel *
43 argadd ./ 47 argadd ~/Documents/projects/STM-Quadcopter
44 edit source/main.c 48 edit source/main.c
45 set splitbelow splitright 49 set splitbelow splitright
46 wincmd _ | wincmd | 50 wincmd _ | wincmd |
47 vsplit 51 vsplit
48 1wincmd h 52 1wincmd h
53 wincmd w 57 wincmd w
54 set nosplitbelow 58 set nosplitbelow
55 wincmd t 59 wincmd t
56 set winheight=1 winwidth=1 60 set winheight=1 winwidth=1
57 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 61 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
58 exe '2resize ' . ((&lines * 33 + 34) / 68) 62 exe '2resize ' . ((&lines * 35 + 35) / 70)
59 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 63 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
60 exe '3resize ' . ((&lines * 32 + 34) / 68) 64 exe '3resize ' . ((&lines * 32 + 35) / 70)
61 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187) 65 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
62 " argglobal 66 " argglobal
63 setlocal fdm=syntax 67 setlocal fdm=syntax
64 setlocal fde=0 68 setlocal fde=0
65 setlocal fmr={{{,}}} 69 setlocal fmr={{{,}}}
66 setlocal fdi=# 70 setlocal fdi=#
67 setlocal fdl=2 71 setlocal fdl=2
68 setlocal fml=1 72 setlocal fml=1
69 setlocal fdn=20 73 setlocal fdn=20
70 setlocal fen 74 setlocal fen
71 14 75 17
72 silent! normal! zo 76 silent! normal! zo
73 26 77 31
74 silent! normal! zo 78 silent! normal! zo
75 36 79 54
76 silent! normal! zo 80 silent! normal! zo
81 let s:l = 49 - ((33 * winheight(0) + 34) / 68)
82 if s:l < 1 | let s:l = 1 | endif
83 exe s:l
84 normal! zt
77 49 85 49
78 silent! normal! zo
79 let s:l = 36 - ((35 * winheight(0) + 33) / 66)
80 if s:l < 1 | let s:l = 1 | endif
81 exe s:l
82 normal! zt
83 36
84 normal! 0 86 normal! 0
85 wincmd w 87 wincmd w
86 " argglobal 88 " argglobal
87 edit source/bluetooth.c 89 edit source/bluetooth.c
88 setlocal fdm=syntax 90 setlocal fdm=syntax
91 setlocal fdi=# 93 setlocal fdi=#
92 setlocal fdl=3 94 setlocal fdl=3
93 setlocal fml=1 95 setlocal fml=1
94 setlocal fdn=20 96 setlocal fdn=20
95 setlocal fen 97 setlocal fen
96 14
97 normal! zc
98 55 98 55
99 normal! zc 99 normal! zc
100 72 100 72
101 normal! zc 101 normal! zc
102 80 102 80
103 silent! normal! zo 103 silent! normal! zo
104 94 104 97
105 normal! zc 105 normal! zc
106 105 106 108
107 silent! normal! zo 107 silent! normal! zo
108 let s:l = 85 - ((72 * winheight(0) + 16) / 33) 108 let s:l = 91 - ((47 * 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 85 112 91
113 normal! 05| 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
118 setlocal fde=0 118 setlocal fde=0
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 = 46 - ((7 * winheight(0) + 16) / 32) 126 let s:l = 28 - ((2 * winheight(0) + 16) / 32)
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 46 130 28
131 normal! 0 131 normal! 0
132 wincmd w 132 wincmd w
133 3wincmd w 133 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
134 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 134 exe '2resize ' . ((&lines * 35 + 35) / 70)
135 exe '2resize ' . ((&lines * 33 + 34) / 68) 135 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
136 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 136 exe '3resize ' . ((&lines * 32 + 35) / 70)
137 exe '3resize ' . ((&lines * 32 + 34) / 68)
138 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187) 137 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
139 tabedit source/sensors.c 138 tabedit source/sensors.c
140 set splitbelow splitright 139 set splitbelow splitright
141 wincmd _ | wincmd | 140 wincmd _ | wincmd |
142 vsplit 141 vsplit
148 wincmd w 147 wincmd w
149 set nosplitbelow 148 set nosplitbelow
150 wincmd t 149 wincmd t
151 set winheight=1 winwidth=1 150 set winheight=1 winwidth=1
152 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 151 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
153 exe '2resize ' . ((&lines * 21 + 34) / 68) 152 exe '2resize ' . ((&lines * 21 + 35) / 70)
154 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 153 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
155 exe '3resize ' . ((&lines * 44 + 34) / 68) 154 exe '3resize ' . ((&lines * 46 + 35) / 70)
156 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187) 155 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
157 " argglobal 156 " argglobal
158 setlocal fdm=syntax 157 setlocal fdm=syntax
159 setlocal fde=0 158 setlocal fde=0
160 setlocal fmr={{{,}}} 159 setlocal fmr={{{,}}}
161 setlocal fdi=# 160 setlocal fdi=#
162 setlocal fdl=0 161 setlocal fdl=0
163 setlocal fml=1 162 setlocal fml=1
164 setlocal fdn=20 163 setlocal fdn=20
165 setlocal fen 164 setlocal fen
166 let s:l = 21 - ((20 * winheight(0) + 33) / 66) 165 61
167 if s:l < 1 | let s:l = 1 | endif 166 silent! normal! zo
168 exe s:l 167 64
169 normal! zt 168 silent! normal! zo
170 21 169 61
170 normal! zc
171 let s:l = 42 - ((41 * winheight(0) + 34) / 68)
172 if s:l < 1 | let s:l = 1 | endif
173 exe s:l
174 normal! zt
175 42
171 normal! 01| 176 normal! 01|
172 wincmd w 177 wincmd w
173 " argglobal 178 " argglobal
174 edit source/sensors.h 179 edit source/sensors.h
175 setlocal fdm=manual 180 setlocal fdm=manual
179 setlocal fdl=0 184 setlocal fdl=0
180 setlocal fml=1 185 setlocal fml=1
181 setlocal fdn=20 186 setlocal fdn=20
182 setlocal fen 187 setlocal fen
183 silent! normal! zE 188 silent! normal! zE
184 let s:l = 13 - ((4 * winheight(0) + 10) / 21) 189 let s:l = 63 - ((20 * winheight(0) + 10) / 21)
185 if s:l < 1 | let s:l = 1 | endif 190 if s:l < 1 | let s:l = 1 | endif
186 exe s:l 191 exe s:l
187 normal! zt 192 normal! zt
188 13 193 63
189 normal! 027| 194 normal! 039|
190 wincmd w 195 wincmd w
191 " argglobal 196 " argglobal
192 edit source/main.c 197 edit source/main.c
193 setlocal fdm=syntax 198 setlocal fdm=syntax
194 setlocal fde=0 199 setlocal fde=0
196 setlocal fdi=# 201 setlocal fdi=#
197 setlocal fdl=1 202 setlocal fdl=1
198 setlocal fml=1 203 setlocal fml=1
199 setlocal fdn=20 204 setlocal fdn=20
200 setlocal fen 205 setlocal fen
201 14 206 17
202 silent! normal! zo 207 silent! normal! zo
203 26 208 31
204 silent! normal! zo 209 silent! normal! zo
205 let s:l = 26 - ((19 * winheight(0) + 22) / 44) 210 54
206 if s:l < 1 | let s:l = 1 | endif 211 silent! normal! zo
207 exe s:l 212 let s:l = 43 - ((22 * winheight(0) + 23) / 46)
208 normal! zt 213 if s:l < 1 | let s:l = 1 | endif
209 26 214 exe s:l
210 normal! 012| 215 normal! zt
211 wincmd w 216 43
212 3wincmd w 217 normal! 033|
213 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 218 wincmd w
214 exe '2resize ' . ((&lines * 21 + 34) / 68) 219 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
215 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 220 exe '2resize ' . ((&lines * 21 + 35) / 70)
216 exe '3resize ' . ((&lines * 44 + 34) / 68) 221 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
222 exe '3resize ' . ((&lines * 46 + 35) / 70)
217 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187) 223 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
218 tabedit STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_dma.h 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
219 set splitbelow splitright 274 set splitbelow splitright
220 wincmd _ | wincmd | 275 wincmd _ | wincmd |
221 vsplit 276 vsplit
222 1wincmd h 277 1wincmd h
223 wincmd w 278 wincmd w
234 setlocal fdl=0 289 setlocal fdl=0
235 setlocal fml=1 290 setlocal fml=1
236 setlocal fdn=20 291 setlocal fdn=20
237 setlocal fen 292 setlocal fen
238 silent! normal! zE 293 silent! normal! zE
239 let s:l = 55 - ((4 * winheight(0) + 33) / 66) 294 let s:l = 25 - ((23 * winheight(0) + 34) / 68)
240 if s:l < 1 | let s:l = 1 | endif 295 if s:l < 1 | let s:l = 1 | endif
241 exe s:l 296 exe s:l
242 normal! zt 297 normal! zt
243 55 298 25
244 normal! 091| 299 normal! 017|
245 wincmd w 300 wincmd w
246 " argglobal 301 " argglobal
247 edit STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_dma.c 302 edit debug/Makefile
248 setlocal fdm=syntax 303 setlocal fdm=manual
249 setlocal fde=0 304 setlocal fde=0
250 setlocal fmr={{{,}}} 305 setlocal fmr={{{,}}}
251 setlocal fdi=# 306 setlocal fdi=#
252 setlocal fdl=0 307 setlocal fdl=0
253 setlocal fml=1 308 setlocal fml=1
254 setlocal fdn=20 309 setlocal fdn=20
255 setlocal fen 310 setlocal fen
256 350 311 silent! normal! zE
257 silent! normal! zo 312 let s:l = 22 - ((21 * winheight(0) + 34) / 68)
258 417 313 if s:l < 1 | let s:l = 1 | endif
259 silent! normal! zo 314 exe s:l
260 let s:l = 481 - ((49 * winheight(0) + 33) / 66) 315 normal! zt
261 if s:l < 1 | let s:l = 1 | endif 316 22
262 exe s:l 317 normal! 09|
263 normal! zt 318 wincmd w
264 481 319 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
265 normal! 019| 320 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
266 wincmd w 321 tabedit STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h
267 3wincmd w 322 set splitbelow splitright
268 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187) 323 set nosplitbelow
269 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187) 324 wincmd t
270 tabedit source/Makefile 325 set winheight=1 winwidth=1
271 set splitbelow splitright 326 " argglobal
272 set nosplitbelow 327 setlocal fdm=manual
273 wincmd t 328 setlocal fde=0
274 set winheight=1 winwidth=1 329 setlocal fmr={{{,}}}
275 " argglobal 330 setlocal fdi=#
276 setlocal fdm=manual 331 setlocal fdl=0
277 setlocal fde=0 332 setlocal fml=1
278 setlocal fmr={{{,}}} 333 setlocal fdn=20
279 setlocal fdi=# 334 setlocal fen
280 setlocal fdl=0 335 silent! normal! zE
281 setlocal fml=1 336 let s:l = 478 - ((33 * winheight(0) + 34) / 68)
282 setlocal fdn=20 337 if s:l < 1 | let s:l = 1 | endif
283 setlocal fen 338 exe s:l
284 silent! normal! zE 339 normal! zt
285 let s:l = 54 - ((53 * winheight(0) + 33) / 66) 340 478
286 if s:l < 1 | let s:l = 1 | endif
287 exe s:l
288 normal! zt
289 54
290 normal! 0 341 normal! 0
291 3wincmd w 342 tabnext 3
292 tabnext 1
293 if exists('s:wipebuf') 343 if exists('s:wipebuf')
294 " silent exe 'bwipe ' . s:wipebuf 344 " silent exe 'bwipe ' . s:wipebuf
295 endif 345 endif
296 " unlet! s:wipebuf 346 " unlet! s:wipebuf
297 set winheight=1 winwidth=20 shortmess=filnxtToO 347 set winheight=1 winwidth=20 shortmess=filnxtToO
303 353
304 " Support for special windows like quick-fix and plug-in windows. 354 " Support for special windows like quick-fix and plug-in windows.
305 " Everything down here is generated by vim-session (not supported 355 " Everything down here is generated by vim-session (not supported
306 " by :mksession out of the box). 356 " by :mksession out of the box).
307 357
308 tabnext 1 358 1wincmd w
309 3wincmd w 359 tabnext 3
310 if exists('s:wipebuf') 360 if exists('s:wipebuf')
311 if empty(bufname(s:wipebuf)) 361 if empty(bufname(s:wipebuf))
312 if !getbufvar(s:wipebuf, '&modified') 362 if !getbufvar(s:wipebuf, '&modified')
313 let s:wipebuflines = getbufline(s:wipebuf, 1, '$') 363 let s:wipebuflines = getbufline(s:wipebuf, 1, '$')
314 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, '')) 364 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, ''))