diff vim/sessions/quadcopter.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 f87e9773c40a
line wrap: on
line diff
--- a/vim/sessions/quadcopter.vim	Sun Jul 27 23:15:54 2014 +0200
+++ b/vim/sessions/quadcopter.vim	Wed Jul 30 19:12:19 2014 +0200
@@ -1,17 +1,19 @@
 " ~/.dotfiles/vim/sessions/quadcopter.vim:
 " Vim session script.
-" Created by session.vim 2.6.1 on 27 juli 2014 at 20:08:24.
+" Created by session.vim 2.6.1 on 27 juli 2014 at 23:46:20.
 " 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 != 'light'
-	set background=light
+if &background != 'dark'
+	set background=dark
 endif
 if !exists('g:colors_name') || g:colors_name != 'hybrid' | colorscheme hybrid | endif
-call setqflist([{'lnum': 1217, 'col': 6, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_tim.h', 'text': 'void TIM_SetCompare1(TIM_TypeDef* TIMx, uint32_t Compare1);
'}, {'lnum': 1275, 'col': 6, 'valid': 1, 'vcol': 0, 'nr': -1, 'type': '', 'pattern': '', 'filename': 'STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_tim.c', 'text': 'void TIM_SetCompare1(TIM_TypeDef* TIMx, uint32_t Compare1)
'}])
+call setqflist([])
 let SessionLoad = 1
 if &cp | set nocp | endif
 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
@@ -22,122 +24,15 @@
   let s:wipebuf = bufnr('%')
 endif
 set shortmess=aoO
-badd +39 source/motors.c
+badd +0 source/main.c
+badd +13 source/motors.c
 badd +0 source/motors.h
-badd +293 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_gpio.h
-badd +67 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f30x_tim.h
-badd +43 source/Makefile
-badd +1276 STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_tim.c
-badd +0 source/main.c
-badd +1 source/bluetooth.h
-badd +1 source/bluetooth.c
+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
 silent! argdel *
 argadd .
-edit source/motors.c
-set splitbelow splitright
-wincmd _ | wincmd |
-vsplit
-1wincmd h
-wincmd w
-set nosplitbelow
-wincmd t
-set winheight=1 winwidth=1
-exe 'vert 1resize ' . ((&columns * 73 + 73) / 147)
-exe 'vert 2resize ' . ((&columns * 73 + 73) / 147)
-" argglobal
-setlocal fdm=syntax
-setlocal fde=0
-setlocal fmr={{{,}}}
-setlocal fdi=#
-setlocal fdl=0
-setlocal fml=1
-setlocal fdn=20
-setlocal fen
-7
-silent! normal! zo
-let s:l = 39 - ((20 * winheight(0) + 20) / 41)
-if s:l < 1 | let s:l = 1 | endif
-exe s:l
-normal! zt
-39
-normal! 03|
-lcd ~/Documents/projects/STM-Quadcopter
-wincmd w
-" argglobal
-edit ~/Documents/projects/STM-Quadcopter/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 = 41 - ((29 * winheight(0) + 20) / 41)
-if s:l < 1 | let s:l = 1 | endif
-exe s:l
-normal! zt
-41
-normal! 0
-lcd ~/Documents/projects/STM-Quadcopter
-wincmd w
-exe 'vert 1resize ' . ((&columns * 73 + 73) / 147)
-exe 'vert 2resize ' . ((&columns * 73 + 73) / 147)
-tabedit ~/Documents/projects/STM-Quadcopter/source/bluetooth.h
-set splitbelow splitright
-wincmd _ | wincmd |
-vsplit
-1wincmd h
-wincmd w
-set nosplitbelow
-wincmd t
-set winheight=1 winwidth=1
-exe 'vert 1resize ' . ((&columns * 73 + 73) / 147)
-exe 'vert 2resize ' . ((&columns * 73 + 73) / 147)
-" 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) + 20) / 41)
-if s:l < 1 | let s:l = 1 | endif
-exe s:l
-normal! zt
-1
-normal! 0
-lcd ~/Documents/projects/STM-Quadcopter
-wincmd w
-" argglobal
-edit ~/Documents/projects/STM-Quadcopter/source/bluetooth.c
-setlocal fdm=syntax
-setlocal fde=0
-setlocal fmr={{{,}}}
-setlocal fdi=#
-setlocal fdl=0
-setlocal fml=1
-setlocal fdn=20
-setlocal fen
-76
-silent! normal! zo
-let s:l = 79 - ((78 * winheight(0) + 20) / 41)
-if s:l < 1 | let s:l = 1 | endif
-exe s:l
-normal! zt
-79
-normal! 0
-lcd ~/Documents/projects/STM-Quadcopter
-wincmd w
-2wincmd w
-exe 'vert 1resize ' . ((&columns * 73 + 73) / 147)
-exe 'vert 2resize ' . ((&columns * 73 + 73) / 147)
-tabedit ~/Documents/projects/STM-Quadcopter/source/main.c
+edit source/main.c
 set splitbelow splitright
 set nosplitbelow
 wincmd t
@@ -151,22 +46,44 @@
 setlocal fml=1
 setlocal fdn=20
 setlocal fen
-20
-silent! normal! zo
-let s:l = 9 - ((8 * winheight(0) + 20) / 41)
+let s:l = 1 - ((0 * winheight(0) + 24) / 48)
 if s:l < 1 | let s:l = 1 | endif
 exe s:l
 normal! zt
-9
-normal! 018|
-lcd ~/Documents/projects/STM-Quadcopter
-2wincmd w
-tabedit ~/Documents/projects/STM-Quadcopter/source/Makefile
+1
+normal! 01|
+tabedit source/motors.c
 set splitbelow splitright
+wincmd _ | wincmd |
+vsplit
+1wincmd h
+wincmd w
 set nosplitbelow
 wincmd t
 set winheight=1 winwidth=1
+exe 'vert 1resize ' . ((&columns * 91 + 92) / 184)
+exe 'vert 2resize ' . ((&columns * 92 + 92) / 184)
 " argglobal
+setlocal fdm=syntax
+setlocal fde=0
+setlocal fmr={{{,}}}
+setlocal fdi=#
+setlocal fdl=0
+setlocal fml=1
+setlocal fdn=20
+setlocal fen
+7
+silent! normal! zo
+let s:l = 22 - ((4 * winheight(0) + 24) / 48)
+if s:l < 1 | let s:l = 1 | endif
+exe s:l
+normal! zt
+22
+normal! 046|
+lcd ~/Documents/Projects/STM-Quadrocopter
+wincmd w
+" argglobal
+edit ~/Documents/Projects/STM-Quadrocopter/source/motors.h
 setlocal fdm=manual
 setlocal fde=0
 setlocal fmr={{{,}}}
@@ -176,20 +93,23 @@
 setlocal fdn=20
 setlocal fen
 silent! normal! zE
-let s:l = 12 - ((5 * winheight(0) + 20) / 41)
+let s:l = 28 - ((27 * winheight(0) + 24) / 48)
 if s:l < 1 | let s:l = 1 | endif
 exe s:l
 normal! zt
-12
-normal! 014|
-lcd ~/Documents/projects/STM-Quadcopter
+28
+normal! 031|
+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
 if exists('s:wipebuf')
 "   silent exe 'bwipe ' . s:wipebuf
 endif
 " unlet! s:wipebuf
-set winheight=1 winwidth=20 shortmess=filnxtToOc
+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)