comparison vim/sessions/quadcopter.vim @ 81:044395254e27

Update gitconfig
author zegervdv <zegervdv@me.com>
date Sun, 27 Jul 2014 20:10:51 +0200
parents 66a2625f4a4c
children 5fd16ed8bb6d
comparison
equal deleted inserted replaced
80:16edf05ad21a 81:044395254e27
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.14 on 28 juni 2014 at 16:21:41. 3 " Created by session.vim 2.6.1 on 27 juli 2014 at 20:08:24.
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
11 if exists('g:did_indent_on') != 1 | filetype indent on | endif 11 if exists('g:did_indent_on') != 1 | filetype indent on | endif
12 if &background != 'dark' 12 if &background != 'dark'
13 set background=dark 13 set background=dark
14 endif 14 endif
15 if !exists('g:colors_name') || g:colors_name != 'hybrid' | colorscheme hybrid | endif 15 if !exists('g:colors_name') || g:colors_name != 'hybrid' | colorscheme hybrid | endif
16 call setqflist([]) 16 call setqflist([{'lnum': 1217, 'col': 6, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_tim.h', 'text': 'void TIM_SetCompare1(TIM_TypeDef* TIMx, uint32_t Compare1);
17 '}, {'lnum': 1275, 'col': 6, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_tim.c', 'text': 'void TIM_SetCompare1(TIM_TypeDef* TIMx, uint32_t Compare1)
18 '}])
17 let SessionLoad = 1 19 let SessionLoad = 1
18 if &cp | set nocp | endif 20 if &cp | set nocp | endif
19 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0 21 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
20 let v:this_session=expand("<sfile>:p") 22 let v:this_session=expand("<sfile>:p")
21 silent only 23 silent only
22 cd ~/Documents/projects/STM-Quadcopter 24 cd ~/Documents/projects/STM-Quadcopter
23 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' 25 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
24 let s:wipebuf = bufnr('%') 26 let s:wipebuf = bufnr('%')
25 endif 27 endif
26 set shortmess=aoO 28 set shortmess=aoO
27 badd +45 source/sensors.c 29 badd +39 source/motors.c
28 badd +27 source/main.c 30 badd +0 source/motors.h
29 badd +81 source/bluetooth.c 31 badd +293 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_gpio.h
30 badd +44 Makefile 32 badd +67 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_tim.h
31 badd +54 source/Makefile 33 badd +43 source/Makefile
32 badd +55 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_dma.h 34 badd +1276 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_tim.c
33 badd +442 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_dma.c 35 badd +0 source/main.c
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
39 badd +1 ~/Documents/projects/STM-Quadcopter
40 badd +1 source/bluetooth.h 36 badd +1 source/bluetooth.h
41 badd +1 source/sensor_data.h 37 badd +1 source/bluetooth.c
42 badd +84 debug/read_sensors.c
43 badd +22 debug/Makefile
44 badd +0 STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h
45 " argglobal 38 " argglobal
46 silent! argdel * 39 silent! argdel *
47 argadd ~/Documents/projects/STM-Quadcopter 40 argadd .
48 edit source/main.c 41 edit source/motors.c
49 set splitbelow splitright 42 set splitbelow splitright
50 wincmd _ | wincmd | 43 wincmd _ | wincmd |
51 vsplit 44 vsplit
52 1wincmd h 45 1wincmd h
53 wincmd w 46 wincmd w
54 wincmd _ | wincmd | 47 set nosplitbelow
55 split 48 wincmd t
56 1wincmd k 49 set winheight=1 winwidth=1
57 wincmd w 50 exe 'vert 1resize ' . ((&columns * 73 + 73) / 147)
58 set nosplitbelow 51 exe 'vert 2resize ' . ((&columns * 73 + 73) / 147)
59 wincmd t
60 set winheight=1 winwidth=1
61 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
62 exe '2resize ' . ((&lines * 35 + 34) / 69)
63 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
64 exe '3resize ' . ((&lines * 31 + 34) / 69)
65 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
66 " argglobal 52 " argglobal
67 setlocal fdm=syntax 53 setlocal fdm=syntax
68 setlocal fde=0 54 setlocal fde=0
69 setlocal fmr={{{,}}} 55 setlocal fmr={{{,}}}
70 setlocal fdi=# 56 setlocal fdi=#
71 setlocal fdl=2 57 setlocal fdl=0
72 setlocal fml=1 58 setlocal fml=1
73 setlocal fdn=20 59 setlocal fdn=20
74 setlocal fen 60 setlocal fen
75 17 61 7
76 silent! normal! zo 62 silent! normal! zo
77 29 63 let s:l = 39 - ((20 * winheight(0) + 20) / 41)
78 silent! normal! zo 64 if s:l < 1 | let s:l = 1 | endif
79 51 65 exe s:l
80 silent! normal! zo 66 normal! zt
81 let s:l = 1 - ((0 * winheight(0) + 33) / 67) 67 39
82 if s:l < 1 | let s:l = 1 | endif 68 normal! 03|
83 exe s:l 69 lcd ~/Documents/projects/STM-Quadcopter
84 normal! zt 70 wincmd w
85 1 71 " argglobal
72 edit ~/Documents/projects/STM-Quadcopter/source/motors.h
73 setlocal fdm=manual
74 setlocal fde=0
75 setlocal fmr={{{,}}}
76 setlocal fdi=#
77 setlocal fdl=0
78 setlocal fml=1
79 setlocal fdn=20
80 setlocal fen
81 silent! normal! zE
82 let s:l = 41 - ((29 * winheight(0) + 20) / 41)
83 if s:l < 1 | let s:l = 1 | endif
84 exe s:l
85 normal! zt
86 41
86 normal! 0 87 normal! 0
87 wincmd w 88 lcd ~/Documents/projects/STM-Quadcopter
88 " argglobal 89 wincmd w
89 edit source/bluetooth.c 90 exe 'vert 1resize ' . ((&columns * 73 + 73) / 147)
90 setlocal fdm=syntax 91 exe 'vert 2resize ' . ((&columns * 73 + 73) / 147)
91 setlocal fde=0 92 tabedit ~/Documents/projects/STM-Quadcopter/source/bluetooth.h
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
104 97
105 normal! zc
106 108
107 silent! normal! zo
108 let s:l = 1 - ((0 * winheight(0) + 17) / 35)
109 if s:l < 1 | let s:l = 1 | endif
110 exe s:l
111 normal! zt
112 1
113 normal! 018|
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
126 let s:l = 1 - ((0 * winheight(0) + 15) / 31)
127 if s:l < 1 | let s:l = 1 | endif
128 exe s:l
129 normal! zt
130 1
131 normal! 0
132 wincmd w
133 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
134 exe '2resize ' . ((&lines * 35 + 34) / 69)
135 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
136 exe '3resize ' . ((&lines * 31 + 34) / 69)
137 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
138 tabedit source/sensors.c
139 set splitbelow splitright 93 set splitbelow splitright
140 wincmd _ | wincmd | 94 wincmd _ | wincmd |
141 vsplit 95 vsplit
142 1wincmd h 96 1wincmd h
143 wincmd w 97 wincmd w
144 wincmd _ | wincmd | 98 set nosplitbelow
145 split 99 wincmd t
146 1wincmd k 100 set winheight=1 winwidth=1
147 wincmd w 101 exe 'vert 1resize ' . ((&columns * 73 + 73) / 147)
148 set nosplitbelow 102 exe 'vert 2resize ' . ((&columns * 73 + 73) / 147)
149 wincmd t 103 " argglobal
150 set winheight=1 winwidth=1
151 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
152 exe '2resize ' . ((&lines * 21 + 34) / 69)
153 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
154 exe '3resize ' . ((&lines * 46 + 34) / 69)
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
165 61
166 silent! normal! zo
167 64
168 silent! normal! zo
169 61
170 normal! zc
171 let s:l = 1 - ((0 * winheight(0) + 34) / 68)
172 if s:l < 1 | let s:l = 1 | endif
173 exe s:l
174 normal! zt
175 1
176 normal! 01|
177 wincmd w
178 " argglobal
179 edit source/sensors.h
180 setlocal fdm=manual 104 setlocal fdm=manual
181 setlocal fde=0 105 setlocal fde=0
182 setlocal fmr={{{,}}} 106 setlocal fmr={{{,}}}
183 setlocal fdi=# 107 setlocal fdi=#
184 setlocal fdl=0 108 setlocal fdl=0
185 setlocal fml=1 109 setlocal fml=1
186 setlocal fdn=20 110 setlocal fdn=20
187 setlocal fen 111 setlocal fen
188 silent! normal! zE 112 silent! normal! zE
189 let s:l = 1 - ((0 * winheight(0) + 10) / 21) 113 let s:l = 1 - ((0 * winheight(0) + 20) / 41)
190 if s:l < 1 | let s:l = 1 | endif
191 exe s:l
192 normal! zt
193 1
194 normal! 039|
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
206 17
207 silent! normal! zo
208 31
209 silent! normal! zo
210 54
211 silent! normal! zo
212 let s:l = 1 - ((0 * winheight(0) + 23) / 46)
213 if s:l < 1 | let s:l = 1 | endif
214 exe s:l
215 normal! zt
216 1
217 normal! 033|
218 wincmd w
219 exe 'vert 1resize ' . ((&columns * 93 + 93) / 187)
220 exe '2resize ' . ((&lines * 21 + 34) / 69)
221 exe 'vert 2resize ' . ((&columns * 93 + 93) / 187)
222 exe '3resize ' . ((&lines * 46 + 34) / 69)
223 exe 'vert 3resize ' . ((&columns * 93 + 93) / 187)
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
239 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
240 if s:l < 1 | let s:l = 1 | endif 114 if s:l < 1 | let s:l = 1 | endif
241 exe s:l 115 exe s:l
242 normal! zt 116 normal! zt
243 1 117 1
244 normal! 0 118 normal! 0
245 tabedit source/Makefile 119 lcd ~/Documents/projects/STM-Quadcopter
120 wincmd w
121 " argglobal
122 edit ~/Documents/projects/STM-Quadcopter/source/bluetooth.c
123 setlocal fdm=syntax
124 setlocal fde=0
125 setlocal fmr={{{,}}}
126 setlocal fdi=#
127 setlocal fdl=0
128 setlocal fml=1
129 setlocal fdn=20
130 setlocal fen
131 76
132 silent! normal! zo
133 let s:l = 79 - ((78 * winheight(0) + 20) / 41)
134 if s:l < 1 | let s:l = 1 | endif
135 exe s:l
136 normal! zt
137 79
138 normal! 0
139 lcd ~/Documents/projects/STM-Quadcopter
140 wincmd w
141 2wincmd w
142 exe 'vert 1resize ' . ((&columns * 73 + 73) / 147)
143 exe 'vert 2resize ' . ((&columns * 73 + 73) / 147)
144 tabedit ~/Documents/projects/STM-Quadcopter/source/main.c
145 set splitbelow splitright
146 set nosplitbelow
147 wincmd t
148 set winheight=1 winwidth=1
149 " argglobal
150 setlocal fdm=syntax
151 setlocal fde=0
152 setlocal fmr={{{,}}}
153 setlocal fdi=#
154 setlocal fdl=0
155 setlocal fml=1
156 setlocal fdn=20
157 setlocal fen
158 20
159 silent! normal! zo
160 let s:l = 9 - ((8 * winheight(0) + 20) / 41)
161 if s:l < 1 | let s:l = 1 | endif
162 exe s:l
163 normal! zt
164 9
165 normal! 018|
166 lcd ~/Documents/projects/STM-Quadcopter
167 2wincmd w
168 tabedit ~/Documents/projects/STM-Quadcopter/source/Makefile
246 set splitbelow splitright 169 set splitbelow splitright
247 set nosplitbelow 170 set nosplitbelow
248 wincmd t 171 wincmd t
249 set winheight=1 winwidth=1 172 set winheight=1 winwidth=1
250 " argglobal 173 " argglobal
255 setlocal fdl=0 178 setlocal fdl=0
256 setlocal fml=1 179 setlocal fml=1
257 setlocal fdn=20 180 setlocal fdn=20
258 setlocal fen 181 setlocal fen
259 silent! normal! zE 182 silent! normal! zE
260 let s:l = 1 - ((0 * winheight(0) + 33) / 67) 183 let s:l = 12 - ((5 * winheight(0) + 20) / 41)
261 if s:l < 1 | let s:l = 1 | endif 184 if s:l < 1 | let s:l = 1 | endif
262 exe s:l 185 exe s:l
263 normal! zt 186 normal! zt
264 1 187 12
265 normal! 0 188 normal! 014|
266 tabedit STM32F3-Discovery_FW_V1.1.0/Utilities/STM32F3_Discovery/stm32f3_discovery_lsm303dlhc.h 189 lcd ~/Documents/projects/STM-Quadcopter
267 set splitbelow splitright 190 2wincmd w
268 set nosplitbelow 191 tabnext 2
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
281 let s:l = 1 - ((0 * winheight(0) + 33) / 67)
282 if s:l < 1 | let s:l = 1 | endif
283 exe s:l
284 normal! zt
285 1
286 normal! 0
287 tabnext 1
288 if exists('s:wipebuf') 192 if exists('s:wipebuf')
289 " silent exe 'bwipe ' . s:wipebuf 193 " silent exe 'bwipe ' . s:wipebuf
290 endif 194 endif
291 " unlet! s:wipebuf 195 " unlet! s:wipebuf
292 set winheight=1 winwidth=20 shortmess=filnxtToO 196 set winheight=1 winwidth=20 shortmess=filnxtToO
298 202
299 " Support for special windows like quick-fix and plug-in windows. 203 " Support for special windows like quick-fix and plug-in windows.
300 " Everything down here is generated by vim-session (not supported 204 " Everything down here is generated by vim-session (not supported
301 " by :mksession out of the box). 205 " by :mksession out of the box).
302 206
303 1wincmd w 207 2wincmd w
304 tabnext 1 208 tabnext 2
305 if exists('s:wipebuf') 209 if exists('s:wipebuf')
306 if empty(bufname(s:wipebuf)) 210 if empty(bufname(s:wipebuf))
307 if !getbufvar(s:wipebuf, '&modified') 211 if !getbufvar(s:wipebuf, '&modified')
308 let s:wipebuflines = getbufline(s:wipebuf, 1, '$') 212 let s:wipebuflines = getbufline(s:wipebuf, 1, '$')
309 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, '')) 213 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, ''))