run tasks from vim via go-task.
vim-task relies on go-task. follow the installation instructions for your os.
use git or your plugin manager of choice to install vim-task.
TaskDefault
: runs thedefault
task defined in Taskfile.yml.TaskAsk
: asks for a task name, then runs that task defined in Taskfile.yml.
add the following to your vim configuration to the default task:
" vim-task {{{
nnoremap <silent><Leader>t :execute 'TaskDefault'<CR>
" }}}
- the go-task contributors and maintainers.
- steve losh's book, learn vimscript the hard way, was a great and useful read.