Kaynağa Gözat

Added default build settings for python and lilypond files

U-GREENWICH\wreed 9 yıl önce
ebeveyn
işleme
40e726268e
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  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 ***** "