tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Browser piggieback connection convenience #152

Closed jgdavey closed 10 years ago

jgdavey commented 10 years ago

This is mostly a sketch. So don't accept this.

Here's the idea:

:Piggieback browser

would use the common settings of http://localhost:9000 for the listener.

:Piggieback browser:9001

would use http://localhost:9001, etc.

I don't love piggiebacking on the :Piggieback command, but wanted to start the conversation.

tpope commented 10 years ago

I had been entertaining the idea of accepting a bare integer as a port actually, as that would be a nonsense value to pass in (whereas browser could be conceivably intended as a var).

jgdavey commented 10 years ago

That makes sense. I've updated the commit.