Skip to content
jacottPublic

About

Pry support within Emacs

Resources

Stars

53 stars

Watchers

6 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

53 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages