hands-free-vim / neovim-talon

Talon user file set for controlling both neovim editing and neovim terminals using Talon voice.
MIT License
4 stars 2 forks source link

TabooReset command ending with a new line does not work #10

Open saidelike opened 5 months ago

saidelike commented 5 months ago

this does nothing and doesn't work:

tab reset:                  user.vim_run_command_exterm(":TabooReset\n")

this shows the command and then when we hit enter it actually works:

tab reset:                  user.vim_run_command_exterm(":TabooReset")
fidgetingbits commented 5 months ago

You probably have to escape the \n ? I'm pretty sure I have code that works for doing this in talon-vim somewhere

saidelike commented 5 months ago

yes I'm pretty sure it used to work, but I don't see any escape in your talon-vim. I've created the issue so we can try to understand why

saidelike commented 5 months ago

It seems it's only this command that doesn't work with a new line, but another other commands like the lazy ones work fine with a new line. Also escaping the newline doesn't work