Update vim stuff

This commit is contained in:
Michael Campagnaro 2017-10-25 11:01:42 -04:00
parent d29dd623e5
commit 5868c5e30f
5 changed files with 25 additions and 1 deletions

View File

@ -45,6 +45,7 @@ alias cd.....='cd ../../../..'
alias aliases='vim ~/.dotfiles/aliases'
alias al='aliases'
alias b='if [ -f build ]; then ./build ; else test -f build.sh && ./build.sh ; fi'
alias bb='if [ -f build ]; then ./build -o 1 ; else test -f build.sh && ./build.sh -o 1 ; fi'
alias bl='brew link --overwrite'
alias bld='brew link --overwrite --dry-run'
alias bower='noglob bower'

View File

@ -175,3 +175,12 @@ rathole
aioli
Palmasola
Delysees
multiplayer
collidable
cooldown
Campagnaro
Spadina
HMH
Steamwhistle
teleport
Bomberman

Binary file not shown.

View File

@ -0,0 +1,10 @@
----------------------------------------------
Michael Campagnaro's plan for <month> <day>, 2017
----------------------------------------------
DO
+
DONE
*

6
vimrc
View File

@ -323,6 +323,7 @@ augroup campoCmds
" Shell script template
autocmd BufNewFile *.sh 0r ~/.vim/templates/skeleton.sh
autocmd BufNewFile *.plan 0r ~/.vim/templates/skeleton.plan
" C/C++ template
autocmd bufnewfile *.{c,cc,cpp,h,hpp} 0r ~/.vim/templates/c_header_notice
@ -778,13 +779,16 @@ augroup END
" Toggle build results
noremap <F11> :call ToggleBuildResults()<cr>
nnoremap <leader>bb :call ToggleBuildResults()<cr>
nnoremap <leader>bc :call ToggleBuildResults()<cr>
" Hide build results and clear errors
noremap <F10> :call HideBuildResultsAndClearErrors()<cr>
" Execute build script
" Optimizations off
nnoremap <leader>b :AsyncRun! -save=2 ./build*<cr>
" Optimizations on
nnoremap <leader>bb :AsyncRun! -save=2 ./build* -o 1<cr>
nnoremap <F8> :call SilentBuild()<cr>
" Execute run script