Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Emacs Pry

Description

Emacs Pry is package that provides support for running Pry within in Emacs.

Features

run-pry starts a Pry REPL inside a modified term-mode buffer.

pry-intercept command allows for quick debuging into a test without needing to write the binding.pry into the file.

Automatically shows source in emacs buffer.

You can use the pointer or other emacs commands to move the cursor on the command line and Pry will be aligned with the new position.

Install

Ensure you are running ruby 1.9.3 or later

gem install pry
mkdir -p ~/.emacs.d/vendor
cd ~/.emacs.d/vendor
git clone git@github.com:jacott/emacs-pry

Add the following to your .emacs or .emacs.d/init.el file

(add-to-list 'load-path "~/.emacs.d/vendor/emacs-pry")
(require 'pry)
;; optional suggestions
(global-set-key [S-f9] 'pry-intercept)
(global-set-key [f9] 'pry-intercept-rerun)

Optional

Thanks

https://github.com/banister for the Pry gem!

About

Pry support within Emacs

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.