Explorar el Código

Added default build settings for python and lilypond files

U-GREENWICH\wreed hace 9 años
padre
commit
40e726268e
Se han modificado 1 ficheros con 5 adiciones y 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 ***** "