dgrnbrg / vim-redl

A better Vim integration story for Clojure
106 stars 8 forks source link

Make :Repl a non-filetype command #22

Open kotarak opened 10 years ago

kotarak commented 10 years ago

I often want to open a quickly open a repl even when not in a Clojure buffer. (I'm working in a polyglot project.) However :Repl is only set as a command when a Clojure buffer is active. Maybe :Repl could be a plain command, so that you can open a quick repl from any buffer.

kotarak commented 10 years ago

I would have added the "enhancement" label, but I can't figure out how...

dgrnbrg commented 10 years ago

How would the :Repl know which nrepl to connect to? Currently, the way that :Repl knows which repl to actually connect to is based on the nrepl that's in the file currently opened.