Simulate helix line wrapping (#32763)
In helix the `f`, `F`, `t`, `T`, left and right motions wrap lines. I added that by default. Release Notes: - vim: The `use_multiline_find` setting is replaced by binding to the correct action in the keymap: ``` "f": ["vim::PushFindForward", { "before": false, "multiline": true }], "t": ["vim::PushFindForward", { "before": true, "multiline": true }], "shift-f": ["vim::PushFindBackward", { "after": false, "multiline": true }], "shift-t": ["vim::PushFindBackward", { "after": true, "multiline": true }], ``` - helix: `f`/`t`/`shift-f`/`shift-t`/`h`/`l`/`left`/`right` are now multiline by default (like helix)
This commit is contained in:
parent
7be57baef0
commit
95cf153ad7
7 changed files with 60 additions and 104 deletions
|
@ -561,7 +561,7 @@ You can change the following settings to modify vim mode's behavior:
|
|||
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
|
||||
| default_mode | The default mode to start in. One of "normal", "insert", "replace", "visual", "visual_line", "visual_block", "helix_normal". | "normal" |
|
||||
| use_system_clipboard | Determines how system clipboard is used:<br><ul><li>"always": use for all operations</li><li>"never": only use when explicitly specified</li><li>"on_yank": use for yank operations</li></ul> | "always" |
|
||||
| use_multiline_find | If `true`, `f` and `t` motions extend across multiple lines. | false |
|
||||
| use_multiline_find | deprecated |
|
||||
| use_smartcase_find | If `true`, `f` and `t` motions are case-insensitive when the target letter is lowercase. | false |
|
||||
| toggle_relative_line_numbers | If `true`, line numbers are relative in normal mode and absolute in insert mode, giving you the best of both options. | false |
|
||||
| custom_digraphs | An object that allows you to add custom digraphs. Read below for an example. | {} |
|
||||
|
@ -586,7 +586,6 @@ Here's an example of these settings changed:
|
|||
"vim": {
|
||||
"default_mode": "insert",
|
||||
"use_system_clipboard": "never",
|
||||
"use_multiline_find": true,
|
||||
"use_smartcase_find": true,
|
||||
"toggle_relative_line_numbers": true,
|
||||
"highlight_on_yank_duration": 50,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue