voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.47k stars 78 forks source link

Is there any way to send {motion} to REPL? #370

Open jiz4oh opened 2 years ago

jiz4oh commented 2 years ago

It just feels more "vim-like" to be able to do things with motion.

voldikss commented 2 years ago

What do you mean by sending “motion”

jiz4oh commented 2 years ago

I can delete a word by type daw, and delete a paragraph by type dap

when I map

nnoremap gz :FloatermSend<cr>

if I can send a paragraph by type gzap, it is very useful

voldikss commented 2 years ago

The plugin shoudn't cover mappings like that, you should define it in your own vimrc