mirror of https://github.com/helix-editor/helix
Compare commits
No commits in common. "4130b162a7bbc7de739807abc05a0e8ba3712133" and "29789f2a9faabb830d12f94702c172f18b7b5fef" have entirely different histories.
4130b162a7
...
29789f2a9f
|
@ -78,9 +78,9 @@
|
|||
| `:log-open` | Open the helix log file. |
|
||||
| `:insert-output` | Run shell command, inserting output before each selection. |
|
||||
| `:append-output` | Run shell command, appending output after each selection. |
|
||||
| `:pipe`, `:|` | Pipe each selection to the shell command. |
|
||||
| `:pipe` | Pipe each selection to the shell command. |
|
||||
| `:pipe-to` | Pipe each selection to the shell command, ignoring output. |
|
||||
| `:run-shell-command`, `:sh`, `:!` | Run a shell command |
|
||||
| `:run-shell-command`, `:sh` | Run a shell command |
|
||||
| `:reset-diff-change`, `:diffget`, `:diffg` | Reset the diff change at the cursor position. |
|
||||
| `:clear-register` | Clear given register. If no argument is provided, clear all registers. |
|
||||
| `:redraw` | Clear and re-render the whole UI |
|
||||
|
|
|
@ -12,7 +12,7 @@ There are three kinds of commands that can be used in keymaps:
|
|||
in [`helix-term/src/commands.rs`](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs)
|
||||
at the invocation of `static_commands!` macro.
|
||||
* Typable commands: commands that can be executed from command mode (`:`), for
|
||||
example `:write!`. See the [Commands](./commands.md) documentation for a
|
||||
example `:write!`. See the [Commands](./commands.html) documentation for a
|
||||
list of available typeable commands or the `TypableCommandList` declaration in
|
||||
the source code at [`helix-term/src/commands/typed.rs`](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands/typed.rs).
|
||||
* Macros: sequences of keys that are executed in order. These keybindings
|
||||
|
|
|
@ -3450,7 +3450,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
|
|||
},
|
||||
TypableCommand {
|
||||
name: "pipe",
|
||||
aliases: &["|"],
|
||||
aliases: &[],
|
||||
doc: "Pipe each selection to the shell command.",
|
||||
fun: pipe,
|
||||
completer: SHELL_COMPLETER,
|
||||
|
@ -3466,7 +3466,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
|
|||
},
|
||||
TypableCommand {
|
||||
name: "run-shell-command",
|
||||
aliases: &["sh", "!"],
|
||||
aliases: &["sh"],
|
||||
doc: "Run a shell command",
|
||||
fun: run_shell_command,
|
||||
completer: SHELL_COMPLETER,
|
||||
|
|
|
@ -64,10 +64,6 @@
|
|||
(array_pattern
|
||||
(identifier) @variable.parameter))
|
||||
|
||||
(public_field_definition) @punctuation.special
|
||||
(this_type) @variable.builtin
|
||||
(type_predicate) @keyword.operator
|
||||
|
||||
; Punctuation
|
||||
; -----------
|
||||
|
||||
|
@ -86,7 +82,6 @@
|
|||
[
|
||||
"abstract"
|
||||
"declare"
|
||||
"module"
|
||||
"export"
|
||||
"infer"
|
||||
"implements"
|
||||
|
@ -132,16 +127,9 @@
|
|||
">"
|
||||
] @punctuation.bracket)
|
||||
|
||||
(omitting_type_annotation) @punctuation.special
|
||||
(opting_type_annotation) @punctuation.special
|
||||
|
||||
; Literals
|
||||
; --------
|
||||
|
||||
[
|
||||
(template_literal_type)
|
||||
] @string
|
||||
|
||||
(import_require_clause
|
||||
(identifier) "="
|
||||
("require") @keyword)
|
||||
|
|
|
@ -74,12 +74,16 @@
|
|||
[
|
||||
"async"
|
||||
"debugger"
|
||||
"delete"
|
||||
"extends"
|
||||
"from"
|
||||
"get"
|
||||
"new"
|
||||
"set"
|
||||
"target"
|
||||
"typeof"
|
||||
"instanceof"
|
||||
"void"
|
||||
"with"
|
||||
] @keyword
|
||||
|
||||
|
@ -87,10 +91,6 @@
|
|||
"of"
|
||||
"as"
|
||||
"in"
|
||||
"delete"
|
||||
"typeof"
|
||||
"instanceof"
|
||||
"void"
|
||||
] @keyword.operator
|
||||
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue