Mercurial > dotfiles.old
comparison vim/sessions/quadcopter.vim @ 82:5fd16ed8bb6d
Add vimsessions
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 27 Jul 2014 23:15:54 +0200 |
parents | 044395254e27 |
children | dd76ef1174f1 |
comparison
equal
deleted
inserted
replaced
81:044395254e27 | 82:5fd16ed8bb6d |
---|---|
1 " ~/.dotfiles/vim/sessions/quadcopter.vim: | 1 " ~/.dotfiles/vim/sessions/quadcopter.vim: |
2 " Vim session script. | 2 " Vim session script. |
3 " Created by session.vim 2.6.1 on 27 juli 2014 at 20:08:24. | 3 " Created by session.vim 2.6.1 on 27 juli 2014 at 20:08:24. |
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 | |
7 silent! set guifont=Inconsolata\ for\ Powerline:h12 | |
8 if exists('g:syntax_on') != 1 | syntax on | endif | 6 if exists('g:syntax_on') != 1 | syntax on | endif |
9 if exists('g:did_load_filetypes') != 1 | filetype on | endif | 7 if exists('g:did_load_filetypes') != 1 | filetype on | endif |
10 if exists('g:did_load_ftplugin') != 1 | filetype plugin on | endif | 8 if exists('g:did_load_ftplugin') != 1 | filetype plugin on | endif |
11 if exists('g:did_indent_on') != 1 | filetype indent on | endif | 9 if exists('g:did_indent_on') != 1 | filetype indent on | endif |
12 if &background != 'dark' | 10 if &background != 'light' |
13 set background=dark | 11 set background=light |
14 endif | 12 endif |
15 if !exists('g:colors_name') || g:colors_name != 'hybrid' | colorscheme hybrid | endif | 13 if !exists('g:colors_name') || g:colors_name != 'hybrid' | colorscheme hybrid | endif |
16 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); | 14 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); |
17 '}, {'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) | 15 '}, {'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) |
18 '}]) | 16 '}]) |
19 let SessionLoad = 1 | 17 let SessionLoad = 1 |
20 if &cp | set nocp | endif | 18 if &cp | set nocp | endif |
21 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0 | 19 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0 |
22 let v:this_session=expand("<sfile>:p") | 20 let v:this_session=expand("<sfile>:p") |
23 silent only | 21 silent only |
24 cd ~/Documents/projects/STM-Quadcopter | 22 cd ~/Documents/Projects/STM-Quadrocopter |
25 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' | 23 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' |
26 let s:wipebuf = bufnr('%') | 24 let s:wipebuf = bufnr('%') |
27 endif | 25 endif |
28 set shortmess=aoO | 26 set shortmess=aoO |
29 badd +39 source/motors.c | 27 badd +39 source/motors.c |
191 tabnext 2 | 189 tabnext 2 |
192 if exists('s:wipebuf') | 190 if exists('s:wipebuf') |
193 " silent exe 'bwipe ' . s:wipebuf | 191 " silent exe 'bwipe ' . s:wipebuf |
194 endif | 192 endif |
195 " unlet! s:wipebuf | 193 " unlet! s:wipebuf |
196 set winheight=1 winwidth=20 shortmess=filnxtToO | 194 set winheight=1 winwidth=20 shortmess=filnxtToOc |
197 let s:sx = expand("<sfile>:p:r")."x.vim" | 195 let s:sx = expand("<sfile>:p:r")."x.vim" |
198 if file_readable(s:sx) | 196 if file_readable(s:sx) |
199 exe "source " . fnameescape(s:sx) | 197 exe "source " . fnameescape(s:sx) |
200 endif | 198 endif |
201 let &so = s:so_save | let &siso = s:siso_save | 199 let &so = s:so_save | let &siso = s:siso_save |