Use alt-z to toggle soft wrap in active editor

When there isn't a default soft-wrapping for the active editor, we
will soft wrap at the editor width. This is consistent with Visual
Studio Code.
This commit is contained in:
Antonio Scandurra
2023-02-14 15:16:06 +01:00
parent 6c0b35acb0
commit 4a2b7e4820
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -164,6 +164,7 @@
"bindings": {
"enter": "editor::Newline",
"cmd-enter": "editor::NewlineBelow",
"alt-z": "editor::ToggleSoftWrap",
"cmd-f": [
"buffer_search::Deploy",
{