From bf4c1d31045ad107f223b62edbab20a0f7a219d6 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 7 Aug 2020 21:25:39 -0400 Subject: async task integration --- keys/which-key.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'keys') diff --git a/keys/which-key.vim b/keys/which-key.vim index cb684da8..52ee1f0d 100644 --- a/keys/which-key.vim +++ b/keys/which-key.vim @@ -78,6 +78,24 @@ let g:which_key_map.b = { \ '?' : ['Buffers' , 'fzf-buffer'] , \ } +" k is for task +let g:which_key_map.k = { + \ 'name' : '+task' , + \ 'c' : [':AsyncTask file-compile' , 'compile file'], + \ 'b' : [':AsyncTask project-build' , 'build project'], + \ 'e' : [':AsyncTaskEdit' , 'edit local tasks'], + \ 'f' : [':AsyncTaskFzf' , 'find task'], + \ 'g' : [':AsyncTaskEdit!' , 'edit global tasks'], + \ 'h' : [':AsyncTaskList!' , 'list hidden tasks'], + \ 'l' : [':CocList tasks' , 'list tasks'], + \ 'm' : [':AsyncTaskMacro' , 'macro help'], + \ 'o' : [':copen' , 'open task view'], + \ 'r' : [':AsyncTask file-run' , 'run file'], + \ 'p' : [':AsyncTask project-run' , 'run project'], + \ 'x' : [':cclose' , 'close task view'], + \ } + " \ 'l' : [':AsyncTaskList' , 'list tasks'], + " s is for search let g:which_key_map.s = { \ 'name' : '+search' , @@ -185,6 +203,7 @@ let g:which_key_map.t = { \ 'n' : [':FloatermNew node' , 'node'], \ 'N' : [':FloatermNew nnn' , 'nnn'], \ 'p' : [':FloatermNew python' , 'python'], + \ 'm' : [':FloatermNew lazynpm' , 'npm'], \ 'r' : [':FloatermNew ranger' , 'ranger'], \ 't' : [':FloatermToggle' , 'toggle'], \ 'y' : [':FloatermNew ytop' , 'ytop'], -- cgit v1.2.3