Giter Site home page Giter Site logo

devjit / sendtextplus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from randy3k/sendtextplus

0.0 1.0 0.0 2.41 MB

An improved SendText plugin for Sublime Text. Send text to various terminals. Works with R, Python and Julia

License: MIT License

JavaScript 15.70% AutoHotkey 4.37% Python 79.92%

sendtextplus's Introduction

SendText+ for Sublime Text

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.

Installation

Via Package Control.

Usage

  • 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.

Cmder settings

Go to Paste in the settings, uncheck, "Confirm keypress" and "Confirm pasting more than..."

Some Details

  • 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.

sendtextplus's People

Contributors

randy3k avatar devjit avatar fdm1 avatar leakymirror avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.