on master help sign in
Fix typos (#3858)
commita73e83ef4df18e2b70bf9b409928f5eb2fc26a99 authortaupiqueur <93834534+taupiqueur@users.noreply.github.com> dateSat 17 Sep 2022, 13:34 (4 years ago) parent19384cc
8 files changed+16−16
CHANGELOG.md+3−3 README.md+4−4 book/src/commands.md+1−1 book/src/from-vim.md+2−2 book/src/guides/adding_languages.md+1−1 book/src/keymap.md+2−2 book/src/usage.md+2−2 helix-core/src/movement.rs+1−1
CHANGELOG.md+3−3
@@ -684,7 +684,7 @@ Usability improvements and fixes:
684684- File picker configuration ([#988](https://github.com/helix-editor/helix/pull/988))
685685- Fix surround cursor position calculation ([#1183](https://github.com/helix-editor/helix/pull/1183))
686686- Accept count for goto_window ([#1033](https://github.com/helix-editor/helix/pull/1033))
687−- Make kill_to_line_end behave like emacs ([#1235](https://github.com/helix-editor/helix/pull/1235))
687+- Make kill_to_line_end behave like Emacs ([#1235](https://github.com/helix-editor/helix/pull/1235))
688688- Only use a single documentation popup ([#1241](https://github.com/helix-editor/helix/pull/1241))
689689- ui: popup: Don't allow scrolling past the end of content ([`3307f44c`](https://github.com/helix-editor/helix/commit/3307f44c))
690690- Open files with spaces in filename, allow opening multiple files ([#1231](https://github.com/helix-editor/helix/pull/1231))
@@ -922,7 +922,7 @@ to distinguish it in bug reports..
922922 on cargo run. `~/.config/helix/runtime` can also be used.
923923- Registers can now be selected via " (for example `"ay`)
924924- Support for Nix files was added
925−- Movement is now fully tested and matches kakoune implementation
925+- Movement is now fully tested and matches Kakoune implementation
926926- A per-file LSP symbol picker was added to space+s
927927- Selection can be replaced with yanked text via R
928928
@@ -946,7 +946,7 @@ Keymaps:
946946- The runtime/ can now optionally be embedded in the binary
947947- Haskell syntax added
948948- Window mode (ctrl-w) added
949−- Show matching bracket (vim's matchbrackets)
949+- Show matching bracket (Vim's matchbrackets)
950950- Themes now support style modifiers
951951- First user contributed theme
952952- Create a document if it doesn't exist yet on save
README.md+4−4
@@ -4,10 +4,10 @@
44
55![Screenshot](./screenshot.png)
66
7−A kakoune / neovim inspired editor, written in Rust.
7+A Kakoune / Neovim inspired editor, written in Rust.
88
9−The editing model is very heavily based on kakoune; during development I found
10−myself agreeing with most of kakoune's design decisions.
9+The editing model is very heavily based on Kakoune; during development I found
10+myself agreeing with most of Kakoune's design decisions.
1111
1212For more information, see the [website](https://helix-editor.com) or
1313[documentation](https://docs.helix-editor.com/).
@@ -24,7 +24,7 @@ All shortcuts/keymaps can be found [in the documentation on the website](https:/
2424- Smart, incremental syntax highlighting and code editing via tree-sitter
2525
2626It's a terminal-based editor first, but I'd like to explore a custom renderer
27−(similar to emacs) in wgpu or skulpin.
27+(similar to Emacs) in wgpu or skulpin.
2828
2929Note: Only certain languages have indentation definitions at the moment. Check
3030`runtime/queries/<lang>/` for `indents.scm`.
book/src/commands.md+1−1
@@ -1,5 +1,5 @@
11# Commands
22
3−Command mode can be activated by pressing `:`, similar to vim. Built-in commands:
3+Command mode can be activated by pressing `:`, similar to Vim. Built-in commands:
44
55{{#include ./generated/typable-cmd.md}}
book/src/from-vim.md+2−2
@@ -1,7 +1,7 @@
11# Migrating from Vim
22
3−Helix's editing model is strongly inspired from vim and kakoune, and a notable
4−difference from vim (and the most striking similarity to kakoune) is that Helix
3+Helix's editing model is strongly inspired from Vim and Kakoune, and a notable
4+difference from Vim (and the most striking similarity to Kakoune) is that Helix
55follows the `selection → action` model. This means that the whatever you are
66going to act on (a word, a paragraph, a line, etc) is selected first and the
77action itself (delete, change, yank, etc) comes second. A cursor is simply a
book/src/guides/adding_languages.md+1−1
@@ -29,7 +29,7 @@ language with the path `runtime/queries/<name>/`. The tree-sitter
2929gives more info on how to write queries.
3030
3131> NOTE: When evaluating queries, the first matching query takes
32−precedence, which is different from other editors like neovim where
32+precedence, which is different from other editors like Neovim where
3333the last matching query supersedes the ones before it. See
3434[this issue][neovim-query-precedence] for an example.
3535
book/src/keymap.md+2−2
@@ -27,7 +27,7 @@
2727
2828### Movement
2929
30−> NOTE: Unlike vim, `f`, `F`, `t` and `T` are not confined to the current line.
30+> NOTE: Unlike Vim, `f`, `F`, `t` and `T` are not confined to the current line.
3131
3232| Key | Description | Command |
3333| ----- | ----------- | ------- |
@@ -229,7 +229,7 @@ TODO: Mappings for selecting syntax nodes (a superset of `[`).
229229
230230#### Window mode
231231
232−This layer is similar to vim keybindings as kakoune does not support window.
232+This layer is similar to Vim keybindings as Kakoune does not support window.
233233
234234| Key | Description | Command |
235235| ----- | ------------- | ------- |
book/src/usage.md+2−2
@@ -128,8 +128,8 @@ will move the selection over to the "func" `identifier`.
128128![textobject-demo](https://user-images.githubusercontent.com/23398472/124231131-81a4bb00-db2d-11eb-9d10-8e577ca7b177.gif)
129129![textobject-treesitter-demo](https://user-images.githubusercontent.com/23398472/132537398-2a2e0a54-582b-44ab-a77f-eb818942203d.gif)
130130
131−- `ma` - Select around the object (`va` in vim, `<alt-a>` in kakoune)
132−- `mi` - Select inside the object (`vi` in vim, `<alt-i>` in kakoune)
131+- `ma` - Select around the object (`va` in Vim, `<alt-a>` in Kakoune)
132+- `mi` - Select inside the object (`vi` in Vim, `<alt-i>` in Kakoune)
133133
134134| Key after `mi` or `ma` | Textobject selected |
135135| --- | --- |
helix-core/src/movement.rs+1−1
@@ -270,7 +270,7 @@ pub enum WordMotionTarget {
270270 NextWordEnd,
271271 PrevWordStart,
272272 PrevWordEnd,
273− // A "Long word" (also known as a WORD in vim/kakoune) is strictly
273+ // A "Long word" (also known as a WORD in Vim/Kakoune) is strictly
274274 // delimited by whitespace, and can consist of punctuation as well
275275 // as alphanumerics.
276276 NextLongWordStart,