Explorar o código

Added default build settings for python and lilypond files

U-GREENWICH\wreed %!s(int64=9) %!d(string=hai) anos
pai
achega
40e726268e
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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 ***** "