Forráskód Böngészése

Added default build settings for python and lilypond files

U-GREENWICH\wreed 9 éve
szülő
commit
40e726268e
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      vimrc

+ 5 - 0
vimrc

@@ -604,6 +604,11 @@ vnoremap <C-c> :call CopyMode()<CR><CR>
 vnoremap <silent> * :call VisualSelection('f')<CR>
 vnoremap <silent> # :call VisualSelection('b')<CR>
 
+" Default building options
+autocmd FileType lilypond setlocal makeprg=lilypond
+autocmd FileType python setlocal makeprg=mypy
+nnoremap <F3> :Make %<CR>
+
 " }}}
 
 "{{{ ***** COMMANDS ***** "