| Age | Commit message (Collapse) | Author |
|
`x` is often criticized as hard to predict due to its slightly complex
behaviour of selecting next line if the current one is fully selected.
Change `x` to use the previous `<a-x>` behaviour, and change `<a-x>` to
trim to fully selected lines as `<a-X>` did.
Adapt existing indentation script to the new behaviour
|
|
Some languages have a trim-indent command but don't use it (for no
apparent reason). Make them trim trailing spaces when exiting insert
mode, like most other languages support scripts do.
|
|
"command" is a built-in, but these are not:
$command
some-command
command-some
|
|
Same as in sh.kak; this allows to only disable the insert hook using
%opt{disabled_hooks}.
|
|
|
|
I forgot them last time, sorry for the noise
|
|
Fixes spurious comment highlighting for these examples:
echo \# foo
echo 1#foo
echo 2\ #foo
|
|
Just like in sh.kak, for example:
echo \" \\\" this should not be highlighted
|
|
eval is a proper builtin as well now
|
|
fish allows to escape single quotes within single quoted strings,
just like double quotes in double quoted strings.
https://fishshell.com/docs/current/index.html#quotes
|
|
This commit allows using the <semicolon> expansion in commands, instead
of `\;`.
It makes commands look more elegant, and prevents new-comers from
falling into the trap of using <a-;> without escaping the semicolon.
|
|
|
|
|
|
|
|
Closes #2783
|