Skip to content

Commit 7917ceb

Browse files
committed
- [X] Update documentation about the minor-mode activation and setup
1 parent 43cf04e commit 7917ceb

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.org

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ This will open a psci repl within emacs from your current project root folder (u
104104

105105
** Setup
106106

107+
*** bindings
108+
109+
Add the inferior-psci-mode to the purescript-mode will permit access to some default bindings:
110+
111+
#+begin_src emacs-lisp
112+
(add-hook 'purescript-mode-hook 'inferior-psci-mode)
113+
#+end_src
114+
115+
*** repl toggle
116+
107117
I encounter (thanks to @purcell) a simple mode that I quite like which is called [[https://github.com/tomterl/repl-toggle][repl-toggle]].
108118
This permits, using the same universal binding `C-c C-z`, to go back and forth between the repl and the buffer.
109119

@@ -127,8 +137,6 @@ Default bindings available from a purescript buffer:
127137
| C-c C-z | | Provided you use the previous setup, this will switch back and forth between repl and buffer |
128138
|-------------+--------------------------------+----------------------------------------------------------------------------------------------|
129139

130-
131-
132140
* Runtime dependencies
133141

134142
A purescript dev platform ready.

todo.org

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CLOSED: [2014-10-29 Wed 18:54]
2727
- [X] Add to el-get - https://github.com/ardumont/el-get/blob/add-psci-recipe/recipes/psci.rcp
2828
- [X] Update documentation regarding installation steps
2929
- [X] Update documentation regarding usage
30-
* IN-PROGRESS 0.0.4 [88%]
30+
* IN-PROGRESS 0.0.4 [100%]
3131
- [X] Update version
3232
- [X] Add an interactive command for displaying the current version
3333
- [X] Use compatible with old emacs version api (replace `(setq-local var val)` with `(set (make-local-variable 'var) val)`)
@@ -36,4 +36,4 @@ CLOSED: [2014-10-29 Wed 18:54]
3636
- [X] Update el-get PR to remove projectile dependencies - https://github.com/dimitri/el-get/pull/1973
3737
- [X] Add a minor mode instead of modifying purescript-mode-map
3838
- [X] Update heading information about the minor-mode activation and setup
39-
- [ ] Update documentation about the minor-mode activation and setup
39+
- [X] Update documentation about the minor-mode activation and setup

0 commit comments

Comments
 (0)