Mercurial > dotfiles.old
comparison vim/sessions/work.vim @ 83:dd76ef1174f1
Add q as fzf - z mashup
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 30 Jul 2014 19:12:19 +0200 |
parents | 5fd16ed8bb6d |
children |
comparison
equal
deleted
inserted
replaced
82:5fd16ed8bb6d | 83:dd76ef1174f1 |
---|---|
1 " ~/.dotfiles/vim/sessions/work.vim: | 1 " ~/.dotfiles/vim/sessions/work.vim: |
2 " Vim session script. | 2 " Vim session script. |
3 " Created by session.vim 2.6.1 on 25 juli 2014 at 18:09:07. | 3 " Created by session.vim 2.6.1 on 30 juli 2014 at 18:12:10. |
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([{'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); | 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); |
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() | 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) | 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()). | 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()) | 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()). | 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()). |
29 cd ~/Documents/UGent/Wifi-modules/controller | 29 cd ~/Documents/UGent/Wifi-modules/controller |
30 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' | 30 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' |
31 let s:wipebuf = bufnr('%') | 31 let s:wipebuf = bufnr('%') |
32 endif | 32 endif |
33 set shortmess=aoO | 33 set shortmess=aoO |
34 badd +97 ~/.zshrc | |
35 badd +78 source/main.c | |
36 badd +405 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_usart.h | |
37 badd +901 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c | |
38 badd +1 ~/Documents/Projects/STM-Quadrocopter/source/main.c | |
39 badd +22 ~/Documents/Projects/STM-Quadrocopter/source/motors.c | |
40 badd +28 ~/Documents/Projects/STM-Quadrocopter/source/motors.h | |
41 badd +301 ~/Documents/Projects/STM-Quadrocopter/STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_gpio.h | |
42 badd +454 ~/Documents/Projects/STM-Quadrocopter/STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_rcc.h | |
34 badd +89 source/stm32f0_discovery.c | 43 badd +89 source/stm32f0_discovery.c |
35 badd +260 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_gpio.h | 44 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 | 45 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 | 46 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 | 47 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 | 48 badd +55 ~/Documents/UGent/Wifi-modules/config/config.py |
41 badd +56 ~/Documents/UGent/Wifi-modules/config/config.py | 49 badd +1 ~/Documents/UGent/Wifi-modules/controller |
42 badd +0 ~/Documents/UGent/Wifi-modules/controller | 50 badd +104 ~/Documents/UGent/Wifi-modules/measurement |
43 badd +32 ~/Documents/UGent/Wifi-modules/measurement | |
44 badd +31 ~/Documents/UGent/Wifi-modules/process_dlogs | 51 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 | 52 badd +385 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 | 53 badd +111 source/stm32f0_discovery.h |
48 badd +0 source/Makefile | 54 badd +1 source/Makefile |
55 badd +1 ~/Documents/UGent/Wifi-modules/config/xbee_config.py | |
49 " argglobal | 56 " argglobal |
50 silent! argdel * | 57 silent! argdel * |
51 argadd ~/Documents/UGent/Wifi-modules/controller | 58 argadd ~/Documents/UGent/Wifi-modules/controller |
52 edit source/main.c | 59 edit source/main.c |
53 set splitbelow splitright | 60 set splitbelow splitright |
67 setlocal fdi=# | 74 setlocal fdi=# |
68 setlocal fdl=0 | 75 setlocal fdl=0 |
69 setlocal fml=1 | 76 setlocal fml=1 |
70 setlocal fdn=20 | 77 setlocal fdn=20 |
71 setlocal fen | 78 setlocal fen |
72 18 | 79 41 |
73 silent! normal! zo | 80 silent! normal! zo |
74 19 | 81 47 |
75 silent! normal! zo | 82 silent! normal! zo |
76 32 | 83 49 |
77 silent! normal! zo | 84 silent! normal! zo |
78 38 | 85 54 |
79 silent! normal! zo | 86 silent! normal! zo |
80 40 | 87 58 |
81 silent! normal! zo | 88 silent! normal! zo |
89 59 | |
90 silent! normal! zo | |
91 185 | |
92 silent! normal! zo | |
93 196 | |
94 silent! normal! zo | |
95 197 | |
96 silent! normal! zo | |
97 235 | |
98 silent! normal! zo | |
99 240 | |
100 silent! normal! zo | |
101 241 | |
102 silent! normal! zo | |
103 64 | |
104 silent! normal! zo | |
105 191 | |
106 silent! normal! zo | |
107 202 | |
108 silent! normal! zo | |
109 203 | |
110 silent! normal! zo | |
111 241 | |
112 silent! normal! zo | |
113 246 | |
114 silent! normal! zo | |
115 247 | |
116 silent! normal! zo | |
117 270 | |
118 silent! normal! zo | |
119 let s:l = 45 - ((44 * winheight(0) + 24) / 49) | |
120 if s:l < 1 | let s:l = 1 | endif | |
121 exe s:l | |
122 normal! zt | |
82 45 | 123 45 |
83 silent! normal! zo | 124 normal! 0 |
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 | 125 lcd ~/Documents/UGent/Wifi-modules/controller |
113 wincmd w | 126 wincmd w |
114 " argglobal | 127 " argglobal |
115 edit ~/Documents/UGent/Wifi-modules/controller/source/stm32f0_discovery.h | 128 edit ~/Documents/UGent/Wifi-modules/controller/source/stm32f0_discovery.h |
116 setlocal fdm=manual | 129 setlocal fdm=manual |
120 setlocal fdl=0 | 133 setlocal fdl=0 |
121 setlocal fml=1 | 134 setlocal fml=1 |
122 setlocal fdn=20 | 135 setlocal fdn=20 |
123 setlocal fen | 136 setlocal fen |
124 silent! normal! zE | 137 silent! normal! zE |
125 let s:l = 111 - ((23 * winheight(0) + 24) / 48) | 138 let s:l = 111 - ((5 * winheight(0) + 24) / 49) |
126 if s:l < 1 | let s:l = 1 | endif | 139 if s:l < 1 | let s:l = 1 | endif |
127 exe s:l | 140 exe s:l |
128 normal! zt | 141 normal! zt |
129 111 | 142 111 |
130 normal! 0 | 143 normal! 0 |
145 setlocal fdl=0 | 158 setlocal fdl=0 |
146 setlocal fml=1 | 159 setlocal fml=1 |
147 setlocal fdn=20 | 160 setlocal fdn=20 |
148 setlocal fen | 161 setlocal fen |
149 silent! normal! zE | 162 silent! normal! zE |
150 let s:l = 5 - ((4 * winheight(0) + 24) / 48) | 163 let s:l = 57 - ((5 * winheight(0) + 24) / 49) |
151 if s:l < 1 | let s:l = 1 | endif | 164 if s:l < 1 | let s:l = 1 | endif |
152 exe s:l | 165 exe s:l |
153 normal! zt | 166 normal! zt |
154 5 | 167 57 |
168 normal! 034| | |
169 lcd ~/Documents/UGent/Wifi-modules/controller | |
170 tabedit ~/Documents/UGent/Wifi-modules/config/xbee_config.py | |
171 set splitbelow splitright | |
172 set nosplitbelow | |
173 wincmd t | |
174 set winheight=1 winwidth=1 | |
175 " argglobal | |
176 setlocal fdm=manual | |
177 setlocal fde=0 | |
178 setlocal fmr={{{,}}} | |
179 setlocal fdi=# | |
180 setlocal fdl=0 | |
181 setlocal fml=1 | |
182 setlocal fdn=20 | |
183 setlocal fen | |
184 silent! normal! zE | |
185 let s:l = 74 - ((21 * winheight(0) + 24) / 49) | |
186 if s:l < 1 | let s:l = 1 | endif | |
187 exe s:l | |
188 normal! zt | |
189 74 | |
190 normal! 06| | |
191 lcd ~/Documents/UGent/Wifi-modules/controller | |
192 tabedit ~/Documents/UGent/Wifi-modules/measurement | |
193 set splitbelow splitright | |
194 set nosplitbelow | |
195 wincmd t | |
196 set winheight=1 winwidth=1 | |
197 " argglobal | |
198 setlocal fdm=manual | |
199 setlocal fde=0 | |
200 setlocal fmr={{{,}}} | |
201 setlocal fdi=# | |
202 setlocal fdl=0 | |
203 setlocal fml=1 | |
204 setlocal fdn=20 | |
205 setlocal fen | |
206 silent! normal! zE | |
207 let s:l = 47 - ((44 * winheight(0) + 24) / 49) | |
208 if s:l < 1 | let s:l = 1 | endif | |
209 exe s:l | |
210 normal! zt | |
211 47 | |
155 normal! 0 | 212 normal! 0 |
156 lcd ~/Documents/UGent/Wifi-modules/controller | 213 lcd ~/Documents/UGent/Wifi-modules/controller |
157 tabedit ~/Documents/UGent/Wifi-modules/config/config.py | 214 tabedit ~/Documents/UGent/Wifi-modules/process_dlogs |
158 set splitbelow splitright | 215 set splitbelow splitright |
159 set nosplitbelow | 216 set nosplitbelow |
160 wincmd t | 217 wincmd t |
161 set winheight=1 winwidth=1 | 218 set winheight=1 winwidth=1 |
162 " argglobal | 219 " argglobal |
163 setlocal fdm=manual | 220 setlocal fdm=manual |
164 setlocal fde=0 | 221 setlocal fde=0 |
165 setlocal fmr={{{,}}} | 222 setlocal fmr={{{,}}} |
166 setlocal fdi=# | 223 setlocal fdi=# |
167 setlocal fdl=0 | 224 setlocal fdl=0 |
168 setlocal fml=1 | 225 setlocal fml=1 |
169 setlocal fdn=20 | 226 setlocal fdn=20 |
170 setlocal fen | 227 setlocal fen |
171 silent! normal! zE | 228 silent! normal! zE |
172 let s:l = 52 - ((4 * winheight(0) + 24) / 48) | 229 let s:l = 97 - ((39 * winheight(0) + 25) / 50) |
173 if s:l < 1 | let s:l = 1 | endif | 230 if s:l < 1 | let s:l = 1 | endif |
174 exe s:l | 231 exe s:l |
175 normal! zt | 232 normal! zt |
176 52 | 233 97 |
177 normal! 039| | 234 normal! 017| |
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 | 235 lcd ~/Documents/UGent/Wifi-modules/controller |
201 tabnext 1 | 236 tabnext 1 |
202 if exists('s:wipebuf') | 237 if exists('s:wipebuf') |
203 " silent exe 'bwipe ' . s:wipebuf | 238 " silent exe 'bwipe ' . s:wipebuf |
204 endif | 239 endif |