On Wednesday, June 27, 2012 2:38:39 PM UTC+2, Lapcjonak wrote: > > On Jun 24, 9:20 pm, Jacobo Polavieja > wrote: > > > My current development environment is that: Sublime Text 2 editor with > > the fabulous SublimeREPL plugin to be able to copy code into the Clojure > > REPL. > > > > As absurd as it may seem... I can't find the combination of keys to send > > functions or selected code to the REPL. > > I just googled: > http://tomschenkjr.net/using-sublime-text-2-for-r/ > > There is the solution: add the following > // Executes a selection of text in REPL, latter only displays code and > does not execute > { "keys": ["ctrl+shift+r"], "command": "repl_transfer_current", > "args": {"scope": "selection"}}, > > into your "Preferences / Key Bindings - User" > > (verified: works in Sublime 2 for Windows) > > -- > Zmi La
Hi Zmitro, With my last uploaded keybinding file that works although I left it as the default which is/was F2 + s. It seems the SublimeText team commented those lines and all because those bindings interfere with other bindings (which I stated previously with the "bookmarks" binding). I've been using F2+l (lowercase "L") to send a line to the REPL, F2+f to send a complete file, and F2+s to send what's selected. I think I have to find a better and more appropiate keybinding, but this is ok for now. I tried putting the default F# one (Alt+Enter to send the selected code), but had no success on the first attempt and haven't actually tried again. Cheers! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en