Closed azinsharaf closed 1 year ago
how can i create a key mapping that asks for an input? For instance I have added this:
map("n", "<Leader>a", ":AI<CR>") but the command should be :AI <type a question here> I want to have the AI plugin input mode when I press <leader>A
map("n", "<Leader>a", ":AI<CR>")
:AI <type a question here>
<leader>A
Hi, I think you just need to replace the <CR> with a space in your mapping. Eg: map("n", "<Leader>a", ":AI ")
<CR>
map("n", "<Leader>a", ":AI ")
yes, it worked. Thanks!
how can i create a key mapping that asks for an input? For instance I have added this:
map("n", "<Leader>a", ":AI<CR>")
but the command should be:AI <type a question here>
I want to have the AI plugin input mode when I press<leader>A