Mercurial > dotfiles.old
changeset 114:f87e9773c40a
Update wiki
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 08 Sep 2014 08:15:29 +0200 |
parents | 6ea5a8011565 |
children | ad0dffd76517 |
files | .hgsubstate vim/sessions/quadcopter.vim |
diffstat | 2 files changed, 209 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgsubstate Mon Sep 01 10:05:47 2014 +0200 +++ b/.hgsubstate Mon Sep 08 08:15:29 2014 +0200 @@ -59,4 +59,4 @@ 74e53c17f3414c2f027126f63755c4ecb6ff4e9a vim/bundle/vimproc 2c03d82a0e4662adf1e347487d73a9bf4bf6fdac vim/bundle/vimwiki 22fa4e57fa3b0e4c9a83de51717b621fe9ca8cd7 vim/bundle/vis -70054a373fe21d41aab17f65a3f40877c2747a2e vimwiki +be7632ed70799eec18e8b60f6968e927eb91e10b vimwiki
--- a/vim/sessions/quadcopter.vim Mon Sep 01 10:05:47 2014 +0200 +++ b/vim/sessions/quadcopter.vim Mon Sep 08 08:15:29 2014 +0200 @@ -1,6 +1,6 @@ " ~/.dotfiles/vim/sessions/quadcopter.vim: " Vim session script. -" Created by session.vim 2.6.1 on 27 juli 2014 at 23:46:20. +" Created by session.vim 2.6.4 on 03 september 2014 at 17:47:19. " Open this file in Vim and run :source % to restore your session. set guioptions=egm @@ -24,20 +24,77 @@ let s:wipebuf = bufnr('%') endif set shortmess=aoO -badd +0 source/main.c -badd +13 source/motors.c +badd +11 . +badd +252 source/sensors.c +badd +90 source/main.c +badd +47 app/main.py +badd +61 app/BluetoothThread.py +badd +0 source/sensors.h +badd +1 source/motors.c +badd +426 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_rcc.h +badd +27 README.md +badd +1014 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_tim.h +badd +349 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_tim.c badd +0 source/motors.h -badd +301 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_gpio.h -badd +454 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_rcc.h -" argglobal +badd +0 source/system.c +badd +57 source/stm32f30x_it.c +badd +522 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_adc.h +badd +694 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_adc.c +badd +56 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_misc.h +badd +230 STM32F3-Discovery_FW_V1.1.0/Libraries/CMSIS/Device/ST/STM32F30x/Include/stm32f30x.h +badd +306 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_gpio.h +badd +228 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_gpio.c +argglobal silent! argdel * argadd . -edit source/main.c +edit source/sensors.c set splitbelow splitright +wincmd _ | wincmd | +vsplit +1wincmd h +wincmd _ | wincmd | +split +1wincmd k +wincmd w +wincmd w +wincmd _ | wincmd | +split +1wincmd k +wincmd w set nosplitbelow wincmd t set winheight=1 winwidth=1 -" argglobal +exe '1resize ' . ((&lines * 24 + 25) / 51) +exe 'vert 1resize ' . ((&columns * 105 + 106) / 212) +exe '2resize ' . ((&lines * 24 + 25) / 51) +exe 'vert 2resize ' . ((&columns * 105 + 106) / 212) +exe '3resize ' . ((&lines * 24 + 25) / 51) +exe 'vert 3resize ' . ((&columns * 106 + 106) / 212) +exe '4resize ' . ((&lines * 24 + 25) / 51) +exe 'vert 4resize ' . ((&columns * 106 + 106) / 212) +argglobal +setlocal fdm=syntax +setlocal fde=0 +setlocal fmr={{{,}}} +setlocal fdi=# +setlocal fdl=0 +setlocal fml=1 +setlocal fdn=20 +setlocal fen +143 +silent! normal! zo +201 +silent! normal! zo +let s:l = 149 - ((5 * winheight(0) + 12) / 24) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +149 +normal! 0 +lcd ~/Documents/Projects/STM-Quadrocopter +wincmd w +argglobal +edit ~/Documents/Projects/STM-Quadrocopter/source/sensors.c setlocal fdm=syntax setlocal fde=0 setlocal fmr={{{,}}} @@ -46,13 +103,109 @@ setlocal fml=1 setlocal fdn=20 setlocal fen -let s:l = 1 - ((0 * winheight(0) + 24) / 48) +201 +silent! normal! zo +let s:l = 253 - ((5 * winheight(0) + 12) / 24) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +253 +normal! 039| +lcd ~/Documents/Projects/STM-Quadrocopter +wincmd w +argglobal +edit ~/Documents/Projects/STM-Quadrocopter/source/motors.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 = 13 - ((12 * winheight(0) + 12) / 24) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +13 +normal! 0 +lcd ~/Documents/Projects/STM-Quadrocopter +wincmd w +argglobal +edit ~/Documents/Projects/STM-Quadrocopter/source/motors.c +setlocal fdm=syntax +setlocal fde=0 +setlocal fmr={{{,}}} +setlocal fdi=# +setlocal fdl=0 +setlocal fml=1 +setlocal fdn=20 +setlocal fen +let s:l = 1 - ((0 * winheight(0) + 12) / 24) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 1 -normal! 01| -tabedit source/motors.c +normal! 0 +lcd ~/Documents/Projects/STM-Quadrocopter +wincmd w +2wincmd w +exe '1resize ' . ((&lines * 24 + 25) / 51) +exe 'vert 1resize ' . ((&columns * 105 + 106) / 212) +exe '2resize ' . ((&lines * 24 + 25) / 51) +exe 'vert 2resize ' . ((&columns * 105 + 106) / 212) +exe '3resize ' . ((&lines * 24 + 25) / 51) +exe 'vert 3resize ' . ((&columns * 106 + 106) / 212) +exe '4resize ' . ((&lines * 24 + 25) / 51) +exe 'vert 4resize ' . ((&columns * 106 + 106) / 212) +tabedit ~/Documents/Projects/STM-Quadrocopter/source/system.c +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 = 30 - ((29 * winheight(0) + 24) / 49) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +30 +normal! 03| +lcd ~/Documents/Projects/STM-Quadrocopter +2wincmd w +tabedit ~/Documents/Projects/STM-Quadrocopter/source/sensors.h +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 = 1 - ((0 * winheight(0) + 24) / 49) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +1 +normal! 029| +lcd ~/Documents/Projects/STM-Quadrocopter +2wincmd w +tabedit ~/Documents/Projects/STM-Quadrocopter/source/stm32f30x_it.c set splitbelow splitright wincmd _ | wincmd | vsplit @@ -61,9 +214,33 @@ set nosplitbelow wincmd t set winheight=1 winwidth=1 -exe 'vert 1resize ' . ((&columns * 91 + 92) / 184) -exe 'vert 2resize ' . ((&columns * 92 + 92) / 184) -" argglobal +exe 'vert 1resize ' . ((&columns * 105 + 106) / 212) +exe 'vert 2resize ' . ((&columns * 106 + 106) / 212) +argglobal +setlocal fdm=syntax +setlocal fde=0 +setlocal fmr={{{,}}} +setlocal fdi=# +setlocal fdl=0 +setlocal fml=1 +setlocal fdn=20 +setlocal fen +57 +silent! normal! zo +57 +normal! zc +71 +silent! normal! zo +let s:l = 72 - ((71 * winheight(0) + 24) / 49) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +72 +normal! 023| +lcd ~/Documents/Projects/STM-Quadrocopter +wincmd w +argglobal +edit ~/Documents/Projects/STM-Quadrocopter/source/system.c setlocal fdm=syntax setlocal fde=0 setlocal fmr={{{,}}} @@ -74,16 +251,23 @@ setlocal fen 7 silent! normal! zo -let s:l = 22 - ((4 * winheight(0) + 24) / 48) +let s:l = 1 - ((0 * winheight(0) + 24) / 49) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -22 -normal! 046| +1 +normal! 01| lcd ~/Documents/Projects/STM-Quadrocopter wincmd w -" argglobal -edit ~/Documents/Projects/STM-Quadrocopter/source/motors.h +2wincmd w +exe 'vert 1resize ' . ((&columns * 105 + 106) / 212) +exe 'vert 2resize ' . ((&columns * 106 + 106) / 212) +tabedit ~/Documents/Projects/STM-Quadrocopter/README.md +set splitbelow splitright +set nosplitbelow +wincmd t +set winheight=1 winwidth=1 +argglobal setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} @@ -93,18 +277,15 @@ setlocal fdn=20 setlocal fen silent! normal! zE -let s:l = 28 - ((27 * winheight(0) + 24) / 48) +let s:l = 12 - ((4 * winheight(0) + 24) / 49) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -28 -normal! 031| +12 +normal! 07| lcd ~/Documents/Projects/STM-Quadrocopter -wincmd w 2wincmd w -exe 'vert 1resize ' . ((&columns * 91 + 92) / 184) -exe 'vert 2resize ' . ((&columns * 92 + 92) / 184) -tabnext 2 +tabnext 1 if exists('s:wipebuf') " silent exe 'bwipe ' . s:wipebuf endif @@ -121,7 +302,7 @@ " by :mksession out of the box). 2wincmd w -tabnext 2 +tabnext 1 if exists('s:wipebuf') if empty(bufname(s:wipebuf)) if !getbufvar(s:wipebuf, '&modified')