Skip to content

Commit 857210b

Browse files
authored
Merge pull request #19 from NickBoyadjian/patch-1
Add documentation for doom emacs in the read me
2 parents 77ac6af + cfebecd commit 857210b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,25 @@ Once your installation is configured to use MELPA, `inf-elixir` can be installed
3232
("C-c i R" . 'inf-elixir-reload-module)))
3333
```
3434

35+
### Or with Doom Emacs:
36+
#### **`packages.el`**
37+
``` elisp
38+
(package! inf-elixir)
39+
```
40+
#### **`config.el`**
41+
``` elisp
42+
(map! :after elixir-mode
43+
:localleader
44+
:map elixir-mode-map
45+
:prefix ("i" . "inf-elixir")
46+
"i" 'inf-elixir
47+
"p" 'inf-elixir-project
48+
"l" 'inf-elixir-send-line
49+
"r" 'inf-elixir-send-region
50+
"b" 'inf-elixir-send-buffer
51+
"R" 'inf-elixir-reload-module)
52+
```
53+
3554
## Keybindings
3655

3756
`inf-elixir` intentionally ships with no keybindings by default. This grants the user the freedom to specify whatever keybindings they would like. Functions that users would probably have an interest in binding are:

0 commit comments

Comments
 (0)