This package improves SendText, particularly for r
,
python
and julia
syntaxes. It supports
- Terminal and iTerm on Mac
- screen and tmux on Unix machines
- Cmder and Cygwin on Windows (see below to configure Cmder)
- SublimeREPL for R and python syntaxes (it works better with R)
Terminal is the default for Mac, Cmder for Windows and tmux for Linux. To change the default program, launch SendText+: Choose Program
in command palatte.
Via Package Control.
-
cmd+enter (Mac) or ctrl+enter (Windows/Linux)
If text is selected, it sends the text to the program selected. If no text is selected, then it sends the current block (if found). Finally, it moves the cursor to the next line.
-
cmd+\ (Mac) or ctrl+\ (Windows/Linux): change working directory (R, Julia and Python only)
-
cmd+b (Mac) or ctrl+b (Windows/Linux): source current file (R, Julia and Python only)
SendTextPlus uses Sublime build system to source files, you might have to choose the
SendTextPlus
build system before pressing the keys.
Go to Paste
in the settings, uncheck, "Confirm keypress" and "Confirm pasting more than..."
- R blocks are detected by a regular expression for
{
,}
pairs. - Julia blocks are detected by
begin
,end
pairs and indentations. - Python blocks are detected by indentations.