82
|
1 " ~/.dotfiles/vim/sessions/work.vim:
|
|
2 " Vim session script.
|
83
|
3 " Created by session.vim 2.6.1 on 30 juli 2014 at 18:12:10.
|
82
|
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
|
83
|
16 call setqflist([{'lnum': 40, 'col': 5, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'source/main.c', 'text': ' USART_SendData(USART1, *str++);'}, {'lnum': 178, 'col': 9, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'source/main.c', 'text': ' USART_SendData(USART1, data[count]);'}, {'lnum': 534, 'col': 6, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_usart.h', 'text': 'void USART_SendData(USART_TypeDef* USARTx, uint16_t Data);
'}, {'lnum': 864, 'col': 68, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c', 'text': ' Whereas a write access to the USART_TDR can be done using USART_SendData()
'}, {'lnum': 877, 'col': 6, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c', 'text': 'void USART_SendData(USART_TypeDef* USARTx, uint16_t Data)
'}, {'lnum': 1878, 'col': 48, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c', 'text': ' * operation to USART_TDR register (USART_SendData()).
'}, {'lnum': 1879, 'col': 73, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c', 'text': ' * @note TXE flag is cleared by a write to the USART_TDR register (USART_SendData())
'}, {'lnum': 1980, 'col': 56, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c', 'text': ' * a write operation to USART_TDR register (USART_SendData()).
'}, {'lnum': 1982, 'col': 16, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c', 'text': ' * (USART_SendData()) or by writing 1 to the TXFRQ in the register
'}])
|
82
|
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/UGent/Wifi-modules/controller
|
|
23 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
|
24 let s:wipebuf = bufnr('%')
|
|
25 endif
|
|
26 set shortmess=aoO
|
83
|
27 badd +97 ~/.zshrc
|
|
28 badd +78 source/main.c
|
|
29 badd +405 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_usart.h
|
|
30 badd +901 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c
|
|
31 badd +1 ~/Documents/Projects/STM-Quadrocopter/source/main.c
|
|
32 badd +22 ~/Documents/Projects/STM-Quadrocopter/source/motors.c
|
|
33 badd +28 ~/Documents/Projects/STM-Quadrocopter/source/motors.h
|
|
34 badd +301 ~/Documents/Projects/STM-Quadrocopter/STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_gpio.h
|
|
35 badd +454 ~/Documents/Projects/STM-Quadrocopter/STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_rcc.h
|
82
|
36 badd +89 source/stm32f0_discovery.c
|
|
37 badd +260 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_gpio.h
|
|
38 badd +417 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_gpio.c
|
|
39 badd +371 STM32F0-Discovery_FW_V1.0.0/Libraries/CMSIS/ST/STM32F0xx/Include/stm32f0xx.h
|
|
40 badd +63 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_misc.h
|
83
|
41 badd +55 ~/Documents/UGent/Wifi-modules/config/config.py
|
|
42 badd +1 ~/Documents/UGent/Wifi-modules/controller
|
|
43 badd +104 ~/Documents/UGent/Wifi-modules/measurement
|
82
|
44 badd +31 ~/Documents/UGent/Wifi-modules/process_dlogs
|
83
|
45 badd +385 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_rcc.h
|
82
|
46 badd +111 source/stm32f0_discovery.h
|
83
|
47 badd +1 source/Makefile
|
|
48 badd +1 ~/Documents/UGent/Wifi-modules/config/xbee_config.py
|
82
|
49 " argglobal
|
|
50 silent! argdel *
|
|
51 argadd ~/Documents/UGent/Wifi-modules/controller
|
|
52 edit source/main.c
|
|
53 set splitbelow splitright
|
|
54 wincmd _ | wincmd |
|
|
55 vsplit
|
|
56 1wincmd h
|
|
57 wincmd w
|
|
58 set nosplitbelow
|
|
59 wincmd t
|
|
60 set winheight=1 winwidth=1
|
|
61 exe 'vert 1resize ' . ((&columns * 92 + 92) / 184)
|
|
62 exe 'vert 2resize ' . ((&columns * 91 + 92) / 184)
|
|
63 " argglobal
|
|
64 setlocal fdm=syntax
|
|
65 setlocal fde=0
|
|
66 setlocal fmr={{{,}}}
|
|
67 setlocal fdi=#
|
|
68 setlocal fdl=0
|
|
69 setlocal fml=1
|
|
70 setlocal fdn=20
|
|
71 setlocal fen
|
83
|
72 41
|
82
|
73 silent! normal! zo
|
83
|
74 47
|
82
|
75 silent! normal! zo
|
|
76 49
|
|
77 silent! normal! zo
|
83
|
78 54
|
|
79 silent! normal! zo
|
|
80 58
|
82
|
81 silent! normal! zo
|
83
|
82 59
|
|
83 silent! normal! zo
|
|
84 185
|
82
|
85 silent! normal! zo
|
83
|
86 196
|
|
87 silent! normal! zo
|
|
88 197
|
82
|
89 silent! normal! zo
|
83
|
90 235
|
82
|
91 silent! normal! zo
|
83
|
92 240
|
|
93 silent! normal! zo
|
|
94 241
|
82
|
95 silent! normal! zo
|
83
|
96 64
|
|
97 silent! normal! zo
|
|
98 191
|
82
|
99 silent! normal! zo
|
83
|
100 202
|
82
|
101 silent! normal! zo
|
83
|
102 203
|
82
|
103 silent! normal! zo
|
83
|
104 241
|
|
105 silent! normal! zo
|
|
106 246
|
82
|
107 silent! normal! zo
|
83
|
108 247
|
82
|
109 silent! normal! zo
|
83
|
110 270
|
|
111 silent! normal! zo
|
|
112 let s:l = 45 - ((44 * winheight(0) + 24) / 49)
|
82
|
113 if s:l < 1 | let s:l = 1 | endif
|
|
114 exe s:l
|
|
115 normal! zt
|
83
|
116 45
|
|
117 normal! 0
|
82
|
118 lcd ~/Documents/UGent/Wifi-modules/controller
|
|
119 wincmd w
|
|
120 " argglobal
|
|
121 edit ~/Documents/UGent/Wifi-modules/controller/source/stm32f0_discovery.h
|
|
122 setlocal fdm=manual
|
|
123 setlocal fde=0
|
|
124 setlocal fmr={{{,}}}
|
|
125 setlocal fdi=#
|
|
126 setlocal fdl=0
|
|
127 setlocal fml=1
|
|
128 setlocal fdn=20
|
|
129 setlocal fen
|
|
130 silent! normal! zE
|
83
|
131 let s:l = 111 - ((5 * winheight(0) + 24) / 49)
|
82
|
132 if s:l < 1 | let s:l = 1 | endif
|
|
133 exe s:l
|
|
134 normal! zt
|
|
135 111
|
|
136 normal! 0
|
|
137 lcd ~/Documents/UGent/Wifi-modules/controller
|
|
138 wincmd w
|
|
139 exe 'vert 1resize ' . ((&columns * 92 + 92) / 184)
|
|
140 exe 'vert 2resize ' . ((&columns * 91 + 92) / 184)
|
|
141 tabedit ~/Documents/UGent/Wifi-modules/controller/source/Makefile
|
|
142 set splitbelow splitright
|
|
143 set nosplitbelow
|
|
144 wincmd t
|
|
145 set winheight=1 winwidth=1
|
|
146 " argglobal
|
|
147 setlocal fdm=manual
|
|
148 setlocal fde=0
|
|
149 setlocal fmr={{{,}}}
|
|
150 setlocal fdi=#
|
|
151 setlocal fdl=0
|
|
152 setlocal fml=1
|
|
153 setlocal fdn=20
|
|
154 setlocal fen
|
|
155 silent! normal! zE
|
83
|
156 let s:l = 57 - ((5 * winheight(0) + 24) / 49)
|
82
|
157 if s:l < 1 | let s:l = 1 | endif
|
|
158 exe s:l
|
|
159 normal! zt
|
83
|
160 57
|
|
161 normal! 034|
|
82
|
162 lcd ~/Documents/UGent/Wifi-modules/controller
|
83
|
163 tabedit ~/Documents/UGent/Wifi-modules/config/xbee_config.py
|
82
|
164 set splitbelow splitright
|
|
165 set nosplitbelow
|
|
166 wincmd t
|
|
167 set winheight=1 winwidth=1
|
|
168 " argglobal
|
|
169 setlocal fdm=manual
|
|
170 setlocal fde=0
|
|
171 setlocal fmr={{{,}}}
|
|
172 setlocal fdi=#
|
|
173 setlocal fdl=0
|
|
174 setlocal fml=1
|
|
175 setlocal fdn=20
|
|
176 setlocal fen
|
|
177 silent! normal! zE
|
83
|
178 let s:l = 74 - ((21 * winheight(0) + 24) / 49)
|
82
|
179 if s:l < 1 | let s:l = 1 | endif
|
|
180 exe s:l
|
|
181 normal! zt
|
83
|
182 74
|
|
183 normal! 06|
|
82
|
184 lcd ~/Documents/UGent/Wifi-modules/controller
|
|
185 tabedit ~/Documents/UGent/Wifi-modules/measurement
|
|
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
|
83
|
200 let s:l = 47 - ((44 * winheight(0) + 24) / 49)
|
82
|
201 if s:l < 1 | let s:l = 1 | endif
|
|
202 exe s:l
|
|
203 normal! zt
|
83
|
204 47
|
|
205 normal! 0
|
|
206 lcd ~/Documents/UGent/Wifi-modules/controller
|
|
207 tabedit ~/Documents/UGent/Wifi-modules/process_dlogs
|
|
208 set splitbelow splitright
|
|
209 set nosplitbelow
|
|
210 wincmd t
|
|
211 set winheight=1 winwidth=1
|
|
212 " argglobal
|
|
213 setlocal fdm=manual
|
|
214 setlocal fde=0
|
|
215 setlocal fmr={{{,}}}
|
|
216 setlocal fdi=#
|
|
217 setlocal fdl=0
|
|
218 setlocal fml=1
|
|
219 setlocal fdn=20
|
|
220 setlocal fen
|
|
221 silent! normal! zE
|
|
222 let s:l = 97 - ((39 * winheight(0) + 25) / 50)
|
|
223 if s:l < 1 | let s:l = 1 | endif
|
|
224 exe s:l
|
|
225 normal! zt
|
|
226 97
|
|
227 normal! 017|
|
82
|
228 lcd ~/Documents/UGent/Wifi-modules/controller
|
|
229 tabnext 1
|
|
230 if exists('s:wipebuf')
|
|
231 " silent exe 'bwipe ' . s:wipebuf
|
|
232 endif
|
|
233 " unlet! s:wipebuf
|
|
234 set winheight=1 winwidth=20 shortmess=filnxtToO
|
|
235 let s:sx = expand("<sfile>:p:r")."x.vim"
|
|
236 if file_readable(s:sx)
|
|
237 exe "source " . fnameescape(s:sx)
|
|
238 endif
|
|
239 let &so = s:so_save | let &siso = s:siso_save
|
|
240
|
|
241 " Support for special windows like quick-fix and plug-in windows.
|
|
242 " Everything down here is generated by vim-session (not supported
|
|
243 " by :mksession out of the box).
|
|
244
|
|
245 1wincmd w
|
|
246 tabnext 1
|
|
247 if exists('s:wipebuf')
|
|
248 if empty(bufname(s:wipebuf))
|
|
249 if !getbufvar(s:wipebuf, '&modified')
|
|
250 let s:wipebuflines = getbufline(s:wipebuf, 1, '$')
|
|
251 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, ''))
|
|
252 silent execute 'bwipeout' s:wipebuf
|
|
253 endif
|
|
254 endif
|
|
255 endif
|
|
256 endif
|
|
257 doautoall SessionLoadPost
|
|
258 unlet SessionLoad
|
|
259 " vim: ft=vim ro nowrap smc=128
|