Mercurial > dotfiles.old
view 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 |
line wrap: on
line source
" ~/.dotfiles/vim/sessions/work.vim: " Vim session script. " Created by session.vim 2.6.1 on 25 juli 2014 at 18:09:07. " Open this file in Vim and run :source % to restore your session. set guioptions=egm silent! set guifont=Inconsolata\ for\ Powerline:h12 if exists('g:syntax_on') != 1 | syntax on | endif if exists('g:did_load_filetypes') != 1 | filetype on | endif if exists('g:did_load_ftplugin') != 1 | filetype plugin on | endif if exists('g:did_indent_on') != 1 | filetype indent on | endif if &background != 'dark' set background=dark endif if !exists('g:colors_name') || g:colors_name != 'hybrid' | colorscheme hybrid | endif 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); '}, {'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 '}]) let SessionLoad = 1 if &cp | set nocp | endif let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0 let v:this_session=expand("<sfile>:p") silent only cd ~/Documents/UGent/Wifi-modules/controller if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' let s:wipebuf = bufnr('%') endif set shortmess=aoO badd +89 source/stm32f0_discovery.c badd +260 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_gpio.h badd +417 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_gpio.c badd +113 source/main.c badd +371 STM32F0-Discovery_FW_V1.0.0/Libraries/CMSIS/ST/STM32F0xx/Include/stm32f0xx.h badd +63 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_misc.h badd +405 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_usart.h badd +56 ~/Documents/UGent/Wifi-modules/config/config.py badd +0 ~/Documents/UGent/Wifi-modules/controller badd +32 ~/Documents/UGent/Wifi-modules/measurement badd +31 ~/Documents/UGent/Wifi-modules/process_dlogs badd +384 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_rcc.h badd +901 STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c badd +111 source/stm32f0_discovery.h badd +0 source/Makefile " argglobal silent! argdel * argadd ~/Documents/UGent/Wifi-modules/controller edit source/main.c set splitbelow splitright wincmd _ | wincmd | vsplit 1wincmd h wincmd w set nosplitbelow wincmd t set winheight=1 winwidth=1 exe 'vert 1resize ' . ((&columns * 92 + 92) / 184) exe 'vert 2resize ' . ((&columns * 91 + 92) / 184) " argglobal setlocal fdm=syntax setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen 18 silent! normal! zo 19 silent! normal! zo 32 silent! normal! zo 38 silent! normal! zo 40 silent! normal! zo 45 silent! normal! zo 49 silent! normal! zo 50 silent! normal! zo 55 silent! normal! zo 55 silent! normal! zo 158 silent! normal! zo 172 silent! normal! zo 173 silent! normal! zo 55 silent! normal! zo 169 silent! normal! zo 180 silent! normal! zo 181 silent! normal! zo let s:l = 63 - ((4 * winheight(0) + 24) / 48) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 63 normal! 05| lcd ~/Documents/UGent/Wifi-modules/controller wincmd w " argglobal edit ~/Documents/UGent/Wifi-modules/controller/source/stm32f0_discovery.h setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 111 - ((23 * winheight(0) + 24) / 48) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 111 normal! 0 lcd ~/Documents/UGent/Wifi-modules/controller wincmd w exe 'vert 1resize ' . ((&columns * 92 + 92) / 184) exe 'vert 2resize ' . ((&columns * 91 + 92) / 184) tabedit ~/Documents/UGent/Wifi-modules/controller/source/Makefile set splitbelow splitright set nosplitbelow wincmd t set winheight=1 winwidth=1 " argglobal setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 5 - ((4 * winheight(0) + 24) / 48) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 5 normal! 0 lcd ~/Documents/UGent/Wifi-modules/controller tabedit ~/Documents/UGent/Wifi-modules/config/config.py set splitbelow splitright set nosplitbelow wincmd t set winheight=1 winwidth=1 " argglobal setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 52 - ((4 * winheight(0) + 24) / 48) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 52 normal! 039| lcd ~/Documents/UGent/Wifi-modules/controller tabedit ~/Documents/UGent/Wifi-modules/measurement set splitbelow splitright set nosplitbelow wincmd t set winheight=1 winwidth=1 " argglobal setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 52 - ((4 * winheight(0) + 24) / 48) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 52 normal! 015| lcd ~/Documents/UGent/Wifi-modules/controller tabnext 1 if exists('s:wipebuf') " silent exe 'bwipe ' . s:wipebuf endif " unlet! s:wipebuf set winheight=1 winwidth=20 shortmess=filnxtToO let s:sx = expand("<sfile>:p:r")."x.vim" if file_readable(s:sx) exe "source " . fnameescape(s:sx) endif let &so = s:so_save | let &siso = s:siso_save " Support for special windows like quick-fix and plug-in windows. " Everything down here is generated by vim-session (not supported " by :mksession out of the box). 1wincmd w tabnext 1 if exists('s:wipebuf') if empty(bufname(s:wipebuf)) if !getbufvar(s:wipebuf, '&modified') let s:wipebuflines = getbufline(s:wipebuf, 1, '$') if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, '')) silent execute 'bwipeout' s:wipebuf endif endif endif endif doautoall SessionLoadPost unlet SessionLoad " vim: ft=vim ro nowrap smc=128