jpalardy / vim-slime

A vim plugin to give you some slime. (Emacs)
http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/
MIT License
1.83k stars 223 forks source link

Question with vimterminal #371

Closed jiz4oh closed 1 year ago

jiz4oh commented 1 year ago

Hi @jpalardy @gbarta, I am curious which problem is metioned here

I have the question because I want to send below codes to my REPL

has_many_option_values = option_values_variants
  .where(option_value: product_option_type.option_type.option_values.unscope(:order))
  .unscope(:order)
  .group(:option_value_id)
  .having("count(spree_option_values_variants.variant_id) > 1").pluck(:option_value_id)

but it's mess up my console

image

extra codes are displayed, but what I want to display is like the one in the following figure

image

I just update this codes

image

could we instead use a single term_sendkeys call as metioned in the commen now?

references: https://github.com/jpalardy/vim-slime/commit/8f6533946bfaa8d08d7fb42a1a195babe607682e

gbarta commented 1 year ago

The workaround no longer seems to be required.

jiz4oh commented 1 year ago

thanks a lot @gbarta @jpalardy