Closed diegodox closed 2 years ago
Glad you like it! This one is the mapping from the Readme with <Leader>
replaced by <Space>
and should work:
map <Space>yc :YodeCreateSeditorFloating<CR>
Can you try it?
Thank you for your advice.
I tried . I still not get all selected lines, only get cursor line.map <Space>yc :YodeCreateSeditorFloating<CR>
EDIT: Sorry I tried map <Space>yc <Cmd>YodeCreateSeditorFloating<CR>
. It should be fixed if I tried :
instead of <Cmd>
.
I think I should try other plugins uninstalled.
I don't see any problematic plugin that catches my eye. Can you execute :map <Space>yc
and paste the output/screenshot?
Here is my output for :map <Space>yc
.
Please try to disable "which-key". Also this <Cmd>
thing is something I didn't see before.
I found my mistake. Use :
instead of <Cmd>
fix this problem which I found on other issue on this plugin.
Help for someone who meet same problem, difference between <Cmd>
and :
from help <Cmd>
.
Both execute command, but <Cmd>
doesn't change mode.
The
pseudokey begins a "command mapping", which executes the command directly (without changing modes).
I close this issue. Thank you @hoschi.
Interesting, glad you could solve the problem. I'll adjust the title in case anyone else is looking for the problem.
This plugin's demo blow my mind, awesome.
But, I'm not sure how to setup this plugin. My setting is below.
and
Just after selecting lines in
<C-v>
(visual lines) mode, I expect<Space>yc
to create yode's floating buffer with lines I select. But, it create yode's floating buffer only with one line which my cursor is placed.How to create yode's buffer with all selected lines?