tpope / vim-tbone

tbone.vim: tmux basics
http://www.vim.org/scripts/script.php?script_id=4488
397 stars 17 forks source link

Do not delete empty lines if we send python code to tmux #9

Closed jchain closed 5 years ago

jchain commented 10 years ago

empty lines are meaningful separators in Python code. Deleting them will cause troubles in Python REPL. My hack is a quick fix. How about a global configurable option?

tpope commented 10 years ago

I can't recall the reason for stripping out blank lines so I assume it was minor or even cosmetic. Let's remove the behavior entirely and see if it causes problems for anyone.

jchain commented 10 years ago

All right. Thanks.

blueyed commented 5 years ago

Followed up in #18.

blueyed commented 5 years ago

From looking at the other changes in this PR it might be worth thinking about providing a callback function via config, e.g. a buffer variable?