summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2020-01-28 02:50:24 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2020-01-28 02:50:24 +0000
commit63ff73d1f5ec572bbd73b6c37d3f8ba83dc085f8 (patch)
tree2355fc01c819a466f54a6284a6a14c5367675686 /elisp/geiser-repl.el
parent1ad752e4b4735e65c30acfc5fed8c663fa93181d (diff)
downloadgeiser-63ff73d1f5ec572bbd73b6c37d3f8ba83dc085f8.tar.gz
geiser-63ff73d1f5ec572bbd73b6c37d3f8ba83dc085f8.tar.bz2
C-c \ and C-c [ in geiser-repl too
With a hat tip to Mikhail Kryshen, who was wondering in guile-user why oh why, and rightly so.
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r--elisp/geiser-repl.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 9f400a3..18da072 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -1,6 +1,6 @@
;;; geiser-repl.el --- Geiser's REPL
-;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2018, 2019 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2018, 2019, 2020 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -824,6 +824,7 @@ buffer."
(define-key geiser-repl-mode-map "\C-a" 'geiser-repl--bol)
(define-key geiser-repl-mode-map (kbd "<home>") 'geiser-repl--bol)
+(define-key geiser-repl-mode-map "\C-c" 'geiser-repl--bol)
(geiser-menu--defmenu repl geiser-repl-mode-map
("Complete symbol" ((kbd "M-TAB"))
@@ -862,6 +863,9 @@ buffer."
--
("Clear buffer" "\C-c\M-o" geiser-repl-clear-buffer
"Clean up REPL buffer, leaving just a lonely prompt")
+ ("Toggle ()/[]" ("\C-c\C-e\C-[" "\C-c\C-e[") geiser-squarify)
+ ("Insert λ" ("\C-c\\" "\C-c\C-\\") geiser-insert-lambda)
+ --
("Kill Scheme interpreter" "\C-c\C-q" geiser-repl-exit
:enable (geiser-repl--live-p))
("Restart" "\C-c\C-z" switch-to-geiser :enable (not (geiser-repl--live-p)))