Update vim stuff
This commit is contained in:
parent
d29dd623e5
commit
5868c5e30f
1
aliases
1
aliases
|
@ -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'
|
||||
|
|
|
@ -175,3 +175,12 @@ rathole
|
|||
aioli
|
||||
Palmasola
|
||||
Delysees
|
||||
multiplayer
|
||||
collidable
|
||||
cooldown
|
||||
Campagnaro
|
||||
Spadina
|
||||
HMH
|
||||
Steamwhistle
|
||||
teleport
|
||||
Bomberman
|
||||
|
|
Binary file not shown.
10
vim/templates/skeleton.plan
Normal file
10
vim/templates/skeleton.plan
Normal file
|
@ -0,0 +1,10 @@
|
|||
----------------------------------------------
|
||||
Michael Campagnaro's plan for <month> <day>, 2017
|
||||
----------------------------------------------
|
||||
|
||||
DO
|
||||
+
|
||||
|
||||
DONE
|
||||
*
|
||||
|
6
vimrc
6
vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user