comparison vim/sessions/work.vim @ 82:5fd16ed8bb6d

Add vimsessions
author zegervdv <zegervdv@me.com>
date Sun, 27 Jul 2014 23:15:54 +0200
parents
children dd76ef1174f1
comparison
equal deleted inserted replaced
81:044395254e27 82:5fd16ed8bb6d
1 " ~/.dotfiles/vim/sessions/work.vim:
2 " Vim session script.
3 " Created by session.vim 2.6.1 on 25 juli 2014 at 18:09:07.
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
16 call setqflist([{'lnum': 52, 'col': 5, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'source/main.c', 'text': ' USART_SendData(USART1, *str++);'}, {'lnum': 183, '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);
17 '}, {'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()
18 '}, {'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)
19 '}, {'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()).
20 '}, {'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())
21 '}, {'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()).
22 '}, {'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
23 '}])
24 let SessionLoad = 1
25 if &cp | set nocp | endif
26 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
27 let v:this_session=expand("<sfile>:p")
28 silent only
29 cd ~/Documents/UGent/Wifi-modules/controller
30 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
31 let s:wipebuf = bufnr('%')
32 endif
33 set shortmess=aoO
34 badd +89 source/stm32f0_discovery.c
35 badd +260 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_gpio.h
36 badd +417 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_gpio.c
37 badd +113 source/main.c
38 badd +371 STM32F0-Discovery_FW_V1.0.0/Libraries/CMSIS/ST/STM32F0xx/Include/stm32f0xx.h
39 badd +63 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_misc.h
40 badd +405 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_usart.h
41 badd +56 ~/Documents/UGent/Wifi-modules/config/config.py
42 badd +0 ~/Documents/UGent/Wifi-modules/controller
43 badd +32 ~/Documents/UGent/Wifi-modules/measurement
44 badd +31 ~/Documents/UGent/Wifi-modules/process_dlogs
45 badd +384 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_rcc.h
46 badd +901 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c
47 badd +111 source/stm32f0_discovery.h
48 badd +0 source/Makefile
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
72 18
73 silent! normal! zo
74 19
75 silent! normal! zo
76 32
77 silent! normal! zo
78 38
79 silent! normal! zo
80 40
81 silent! normal! zo
82 45
83 silent! normal! zo
84 49
85 silent! normal! zo
86 50
87 silent! normal! zo
88 55
89 silent! normal! zo
90 55
91 silent! normal! zo
92 158
93 silent! normal! zo
94 172
95 silent! normal! zo
96 173
97 silent! normal! zo
98 55
99 silent! normal! zo
100 169
101 silent! normal! zo
102 180
103 silent! normal! zo
104 181
105 silent! normal! zo
106 let s:l = 63 - ((4 * winheight(0) + 24) / 48)
107 if s:l < 1 | let s:l = 1 | endif
108 exe s:l
109 normal! zt
110 63
111 normal! 05|
112 lcd ~/Documents/UGent/Wifi-modules/controller
113 wincmd w
114 " argglobal
115 edit ~/Documents/UGent/Wifi-modules/controller/source/stm32f0_discovery.h
116 setlocal fdm=manual
117 setlocal fde=0
118 setlocal fmr={{{,}}}
119 setlocal fdi=#
120 setlocal fdl=0
121 setlocal fml=1
122 setlocal fdn=20
123 setlocal fen
124 silent! normal! zE
125 let s:l = 111 - ((23 * winheight(0) + 24) / 48)
126 if s:l < 1 | let s:l = 1 | endif
127 exe s:l
128 normal! zt
129 111
130 normal! 0
131 lcd ~/Documents/UGent/Wifi-modules/controller
132 wincmd w
133 exe 'vert 1resize ' . ((&columns * 92 + 92) / 184)
134 exe 'vert 2resize ' . ((&columns * 91 + 92) / 184)
135 tabedit ~/Documents/UGent/Wifi-modules/controller/source/Makefile
136 set splitbelow splitright
137 set nosplitbelow
138 wincmd t
139 set winheight=1 winwidth=1
140 " argglobal
141 setlocal fdm=manual
142 setlocal fde=0
143 setlocal fmr={{{,}}}
144 setlocal fdi=#
145 setlocal fdl=0
146 setlocal fml=1
147 setlocal fdn=20
148 setlocal fen
149 silent! normal! zE
150 let s:l = 5 - ((4 * winheight(0) + 24) / 48)
151 if s:l < 1 | let s:l = 1 | endif
152 exe s:l
153 normal! zt
154 5
155 normal! 0
156 lcd ~/Documents/UGent/Wifi-modules/controller
157 tabedit ~/Documents/UGent/Wifi-modules/config/config.py
158 set splitbelow splitright
159 set nosplitbelow
160 wincmd t
161 set winheight=1 winwidth=1
162 " argglobal
163 setlocal fdm=manual
164 setlocal fde=0
165 setlocal fmr={{{,}}}
166 setlocal fdi=#
167 setlocal fdl=0
168 setlocal fml=1
169 setlocal fdn=20
170 setlocal fen
171 silent! normal! zE
172 let s:l = 52 - ((4 * winheight(0) + 24) / 48)
173 if s:l < 1 | let s:l = 1 | endif
174 exe s:l
175 normal! zt
176 52
177 normal! 039|
178 lcd ~/Documents/UGent/Wifi-modules/controller
179 tabedit ~/Documents/UGent/Wifi-modules/measurement
180 set splitbelow splitright
181 set nosplitbelow
182 wincmd t
183 set winheight=1 winwidth=1
184 " argglobal
185 setlocal fdm=manual
186 setlocal fde=0
187 setlocal fmr={{{,}}}
188 setlocal fdi=#
189 setlocal fdl=0
190 setlocal fml=1
191 setlocal fdn=20
192 setlocal fen
193 silent! normal! zE
194 let s:l = 52 - ((4 * winheight(0) + 24) / 48)
195 if s:l < 1 | let s:l = 1 | endif
196 exe s:l
197 normal! zt
198 52
199 normal! 015|
200 lcd ~/Documents/UGent/Wifi-modules/controller
201 tabnext 1
202 if exists('s:wipebuf')
203 " silent exe 'bwipe ' . s:wipebuf
204 endif
205 " unlet! s:wipebuf
206 set winheight=1 winwidth=20 shortmess=filnxtToO
207 let s:sx = expand("<sfile>:p:r")."x.vim"
208 if file_readable(s:sx)
209 exe "source " . fnameescape(s:sx)
210 endif
211 let &so = s:so_save | let &siso = s:siso_save
212
213 " Support for special windows like quick-fix and plug-in windows.
214 " Everything down here is generated by vim-session (not supported
215 " by :mksession out of the box).
216
217 1wincmd w
218 tabnext 1
219 if exists('s:wipebuf')
220 if empty(bufname(s:wipebuf))
221 if !getbufvar(s:wipebuf, '&modified')
222 let s:wipebuflines = getbufline(s:wipebuf, 1, '$')
223 if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, ''))
224 silent execute 'bwipeout' s:wipebuf
225 endif
226 endif
227 endif
228 endif
229 doautoall SessionLoadPost
230 unlet SessionLoad
231 " vim: ft=vim ro nowrap smc=128