1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-15 14:11:43 +03:00

Various small fixes/improvements to README

This commit is contained in:
Maxime Coste 2015-04-13 13:12:13 +01:00
parent 104ee262ba
commit e8bdc274b4

View File

@ -495,17 +495,17 @@ if you want to give parameters with spaces, you should quote them.
Kakoune support three string syntax: Kakoune support three string syntax:
* `\'strings\'`: uninterpreted strings, you can use \' to escape the separator, * `'strings'`: uninterpreted strings, you can use `\'` to escape the separator,
every other char is itself. every other char is itself.
* `"strings"`: expanded strings, % strings (see %sh, %opt or %reg) contained * `"strings"`: expanded strings, % strings (see <<Expansions>>) contained
are expended. Use \% to escape a % inside them, and \\ to escape a slash. are expended. Use \% to escape a % inside them, and \\ to escape a slash.
* `%{strings}`: these strings are very useful when entering commands * `%{strings}`: these strings are very useful when entering commands
- the '{' and '}' delimiter are configurable: you can use any non - the `{` and `}` delimiter are configurable: you can use any non
alphanumeric character. like %[string], %<string>, %(string), %~string~ alphanumeric character. like `%[string]`, `%<string>`, `%(string)`,
or %!string!... `%\~string~` or `%!string!`...
- if the character following the % is one of {[(<, then the closing one is - if the character following the % is one of {[(<, then the closing one is
the matching }])> and the delimiters are not escapable but are nestable. the matching }])> and the delimiters are not escapable but are nestable.
for example `%{ roger {}; }` is a valid string, `%{ marcel \}` as well. for example `%{ roger {}; }` is a valid string, `%{ marcel \}` as well.
@ -522,8 +522,8 @@ by the value of the given option (here `autoinfo`).
Supported types are: Supported types are:
* `sh`: shell expansion, similar to posix shell $(...) construct, see the * `sh`: shell expansion, similar to posix shell $(...) construct, see
Shell expansion section for more details. <<Shell expansion>> for more details.
* `reg`: register expansion, will be replaced by the content of the given * `reg`: register expansion, will be replaced by the content of the given
register. register.
* `opt`: option expansion, will be replaced with the value of the given * `opt`: option expansion, will be replaced with the value of the given
@ -912,8 +912,7 @@ general highlighters are:
* `number_lines <-relative> <-hlcursor>`: show line numbers. The -relative switch * `number_lines <-relative> <-hlcursor>`: show line numbers. The -relative switch
will show line numbers to main cursor line, the -hlcursor switch will will show line numbers to main cursor line, the -hlcursor switch will
highlight the cursor line with a separate face.. highlight the cursor line with a separate face..
* `fill <face>`: fill using given face, mostly useful with the `regions` highlighter * `fill <face>`: fill using given face, mostly useful with <<Regions highlighters>>
(see below)
Highlighting Groups Highlighting Groups
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
@ -1228,8 +1227,8 @@ program when the buffer is deleted.
Menus Menus
~~~~~ ~~~~~
When a menu is displayed, you can use *j*, *control-n* or *tab* to select the next When a menu is displayed, you can use `j`, `<ctrl-n>` or `<tab>` to select the next
entry, and *k*, *control-p* or *shift-tab* to select the previous one. entry, and `k`, `<ctrl-p>` or `<shift-tab>` to select the previous one.
Using the */* key, you can enter some regex in order to restrict available choices Using the `/` key, you can enter some regex in order to restrict available choices
to the matching ones. to the matching ones.