You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 22, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: docs/rebl.md
+11-17Lines changed: 11 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,7 @@
4
4
5
5
## Clojure CLI
6
6
7
-
1. Add your aliases to your deps.edn file. Use the deps.edn file in the `~/.clojure` directory to enable alias reuse across multiple projects.
8
-
9
-
* Add the REBL and nREBL aliases to your deps.edn file. Below is the configuration for REBL on openjdk 12
7
+
Add the following aliases to your deps.edn file. Use the deps.edn file in the `~/.clojure` directory to enable alias reuse across multiple projects. This is the configuration for REBL on openjdk 12. Check out the [REBL github page](https://github.com/cognitect-labs/REBL-distro) for more info.
Check out the [REBL github page](https://github.com/cognitect-labs/REBL-distro) for more info
38
-
39
-
2. Create a Calva custom connect sequence for your VSCode editor
36
+
Create a Calva custom connect sequence for your VSCode editor. (Read [Custom REPL Connect Sequences](connect-sequences.md) if you haven't.) Add the following to your vscode settings.json:
40
37
41
-
* Read [Custom REPL Connect Sequences](connect-sequences.md) if you haven't
42
-
* Add the following to your vscode settings.json
43
38
```json
44
39
{
45
40
"calva.replConnectSequences": [
@@ -59,10 +54,11 @@ Check out the [REBL github page](https://github.com/cognitect-labs/REBL-distro)
59
54
```
60
55
## Leiningen
61
56
62
-
1.Add rebl profiles to your [user-wide profiles](https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md#declaring-profiles) so that they will be available for all your projects.
63
-
A sample user profile (located at `~/.lein/profiles.clj` on mac)
57
+
Add rebl profiles to your [user-wide profiles](https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md#declaring-profiles) so that they will be available for all your projects. Here's a sample user profile (located at `~/.lein/profiles.clj` on mac):
[More info here](https://github.com/eccentric-j/lein-rebl-example)
87
84
88
-
2. Create a Calva custom connect sequence for your VSCode editor
89
-
90
-
* Read [Custom REPL Connect Sequences](connect-sequences.md) if you haven't
91
-
* Add the following to your vscode settings.json
85
+
Create a Calva custom connect sequence for your VSCode editor. (Read [Custom REPL Connect Sequences](connect-sequences.md) if you haven't.) Add the following to your vscode settings.json:
Copy file name to clipboardExpand all lines: docs/vim.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Calva's various structural selection commands [do not put VIM into VISUAL mode](
10
10
11
11
In general Calva's default key bindings are not very VI-ish.
12
12
13
-
You can add these keybindings to your `init.vim` if you are using the VSCode Neovim extension. It is inspired by and tries to emulate the keybindings found in [vim-fireplace](https://github.com/tpope/vim-fireplace) which is the most popular vim plugin for clojure.
13
+
You can add these keybindings to your `init.vim` if you are using the VSCode Neovim extension. It is inspired by and tries to emulate the keybindings found in [vim-fireplace](https://github.com/tpope/vim-fireplace) which is the most popular vim plugin for Clojure.
14
14
15
15
```
16
16
nmap cqp :call VSCodeNotify('calva.jackIn')<CR>
@@ -29,7 +29,7 @@ Calva binds **expand selection** to `ctrl+w`. This conflicts with the VIM Extens
29
29
30
30
### The `esc` key
31
31
32
-
Calva binds the `esc` key to dismiss the display of inline results. This gets into conflict with any `vi` coding since `esc` then is used to go back to command mode. You can either fix Calva's default keybinding or the VIM extension.
32
+
Calva binds the `esc` key to dismiss the display of inline results. This gets into conflict with any `vi` coding since `esc` then is used to go back to command mode. You can either change Calva's default keybinding or the VIM extension's.
33
33
34
34
Alternatively, you can use the native Vim command `Ctrl + [` to escape and get back to command mode. Rebinding your keyboard's CapsLock key to Control may make this even easier.
0 commit comments