Skip to content

Commit 55543c4

Browse files
committed
Use <kbd> to show keyboard shortcuts in README.md
1 parent 052a498 commit 55543c4

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Diff for: README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ Control alignment of _new_ lines within Clojure multi-line strings and regular
106106
expressions with `clojure_indent_multiline_strings`.
107107

108108
> [!NOTE]
109-
> Indenting with `=` will not alter the indentation within multi-line strings,
110-
> as this could break intentional formatting.
109+
> Indenting with <kbd>=</kbd> will not alter the indentation within multi-line
110+
> strings, as this could break intentional formatting.
111111
112112
Pick from the following multi-line string indent styles:
113113

@@ -136,8 +136,9 @@ regions, such as rainbow parenthesis plugins.)
136136
## Insert-mode completion
137137

138138
Very basic insert-mode completion of special forms and public vars from
139-
`clojure.core` is included in Clojure.vim. Invoke it with `<C-x><C-o>` or
140-
`<C-x><C-u>`.
139+
`clojure.core` is included in Clojure.vim. Invoke it with
140+
<kbd>Ctrl</kbd><kbd>x</kbd><kbd>Ctrl</kbd><kbd>o</kbd> or
141+
<kbd>Ctrl</kbd><kbd>x</kbd><kbd>Ctrl</kbd><kbd>u</kbd>.
141142

142143

143144
## Contribute

Diff for: indent/clojure.vim

+4-6
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,15 @@ endfunction
3636
call s:SConf('clojure_indent_style', 'standard')
3737
call s:SConf('clojure_indent_multiline_strings', 'standard')
3838
call s:SConf('clojure_fuzzy_indent_patterns', [
39-
\ '\m^with-\%(meta\|in-str\|out-str\|loading-context\)\@!',
40-
\ '\m^def',
41-
\ '\m^let'
39+
\ '\m^def', '\m^let', '\m^with-\%(meta\|in-str\|out-str\|loading-context\)\@!'
4240
\ ])
4341

4442
" FIXME: reader conditional indentation?
4543

4644
" TODO: explain the different numbers. The "indent_style" option can override "0"
47-
" - -1 Not in dictionary, follow defaults.
48-
" - 0: Align to first argument, else 2 space indentation.
49-
" - 1+: 2 space indentation, no alignment.
45+
" -1 : Not in dictionary, follow defaults.
46+
" 0 : Align to first argument, else 2 space indentation.
47+
" 1+: 2 space indentation, no alignment.
5048
" Defaults copied from: https://github.com/clojure-emacs/clojure-mode/blob/0e62583b5198f71856e4d7b80e1099789d47f2ed/clojure-mode.el#L1800-L1875
5149
call s:SConf('clojure_indent_rules', {
5250
\ 'fn': 1, 'def': 1, 'defn': 1, 'bound-fn': 1, 'let': 1, 'binding': 1, 'defmethod': 1,

0 commit comments

Comments
 (0)