dotfiles/vim/after/ftplugin/requirements.vim
Alicia Sykes afb55def37 V0.01
2021-01-31 20:45:12 +00:00

7 lines
165 B
VimL

fu! s:InstallRequirements()
silent !clear
execute '!' . 'pip install -r ' . bufname('%')
endfu
:command! -bar InstallRequirements :call s:InstallRequirements()