Last active
November 5, 2018 19:47
-
-
Save madskjeldgaard/5f0c21e5e1ca2117cef547dcfa024676 to your computer and use it in GitHub Desktop.
change vim keys for scvim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Put these in your .vimrc to change <F5>, <F6> and <F12> to something else, reload VIM or resource your .vimrc (by running :source $MYVIMRC in VIM) and then it should work | |
au Filetype supercollider nnoremap <buffer> <leader>a :call SClang_block()<CR> | |
au Filetype supercollider inoremap <buffer> <leader>a :call SClang_block()<CR>a | |
au Filetype supercollider vnoremap <buffer> <leader>a :call SClang_line()<CR> | |
au Filetype supercollider vnoremap <buffer> <leader>b :call SClang_line()<CR> | |
au Filetype supercollider nnoremap <buffer> <leader>b :call SClang_line()<CR> | |
au Filetype supercollider inoremap <buffer> <leader>b :call SClang_line()<CR>a | |
au Filetype supercollider nnoremap <buffer> <leader>. :call SClangHardstop()<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment