add: lilypond auto compile for vim
This commit is contained in:
parent
743a3f8f26
commit
e5bbfaa082
1 changed files with 5 additions and 2 deletions
|
@ -19,11 +19,14 @@ set encoding=utf-8
|
||||||
|
|
||||||
set nowrap
|
set nowrap
|
||||||
|
|
||||||
" Save cursor position. I don't understand this part
|
|
||||||
if has("autocmd")
|
if has("autocmd")
|
||||||
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
" Save cursor position. I don't understand this part
|
||||||
|
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
||||||
|
|
||||||
|
au FileType lilypond au BufWritePost * !lilypond %
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
" Plug plugins using VimPlug
|
" Plug plugins using VimPlug
|
||||||
call plug#begin('~/.config/vim/plugged')
|
call plug#begin('~/.config/vim/plugged')
|
||||||
Plug 'editorconfig/editorconfig-vim'
|
Plug 'editorconfig/editorconfig-vim'
|
||||||
|
|
Loading…
Reference in a new issue