Skip to content

Commit d5db30c

Browse files
authored
Add shortcuts to docs
1 parent 283b852 commit d5db30c

File tree

1 file changed

+48
-4
lines changed

1 file changed

+48
-4
lines changed

docs/features.md

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,33 @@ This plugin relies on clojure-lsp features, so most work is done there, for more
44

55
### Find a function/var definition
66

7+
> <kbd>Ctrl/Cmd</kbd> + <kbd>b</kbd> or <kbd>Ctrl/Cmd</kbd> + <kbd>click</kbd>
8+
79
![](../images/find-definition.png)
810

911
### Find all references of a function, var, keyword or namespace alias
1012

13+
> <kbd>Alt</kbd> + <kbd>F7</kbd>
14+
1115
![](../images/find-references.png)
1216

1317
### Rename
1418

19+
> <kbd>Shift</kbd> + <kbd>F6</kbd>
20+
1521
![](../images/rename.png)
1622

1723
### Documentation and clojuredocs integration
1824

25+
> <kbd>Ctrl/Cmd</kbd> + <kbd>Q</kbd> or mouse hover
26+
1927
![](../images/hover.png)
2028

2129
### Completion
2230

23-
![](../images/completion.png)
24-
25-
### Code actions
31+
> <kbd>Ctrl/Cmd</kbd> + <kbd>SPC</kbd>
2632
27-
![](../images/code-actions.png)
33+
![](../images/completion.png)
2834

2935
### Code lenses showing symbol references
3036

@@ -36,6 +42,44 @@ This plugin relies on clojure-lsp features, so most work is done there, for more
3642

3743
### Format a whole file or range
3844

45+
> <kbd>Ctrl/Cmd</kbd> + <kbd>Alt</kbd> + <kbd>l</kbd>
46+
3947
### Wizard to create new Clojure projects
4048

4149
![](../images/wizard.png)
50+
51+
### Code actions
52+
53+
> <kbd>Alt</kbd> + <kbd>Enter</kbd>
54+
55+
![](../images/code-actions.png)
56+
57+
#### Clean namespaces
58+
59+
> <kbd>Ctrl/Cmd</kbd> + <kbd>Alt</kbd> + <kbd>o</kbd>
60+
61+
#### Paredit
62+
63+
##### Forward slurp
64+
65+
> <kbd>Alt</kbd> + <kbd>]</kbd>
66+
67+
##### Forward barf
68+
69+
> <kbd>Alt</kbd> + <kbd>[</kbd>
70+
71+
##### Backward slurp
72+
73+
> <kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>]</kbd>
74+
75+
##### Backward barf
76+
77+
> <kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>[</kbd>
78+
79+
##### Raise sexpr
80+
81+
> <kbd>Alt</kbd> + <kbd>r</kbd>
82+
83+
##### Kill sexpr
84+
85+
> <kbd>Alt</kbd> + <kbd>k</kbd>

0 commit comments

Comments
 (0)