mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 11:26:39 +00:00
feat(rewrap): enable auto-wrap by default and add keybinding to toggle it
This commit is contained in:
@@ -687,6 +687,18 @@
|
||||
},
|
||||
//
|
||||
// ===========================================================================
|
||||
// MARK: Rewrap Revived
|
||||
// ===========================================================================
|
||||
// Extension:
|
||||
// - https://marketplace.visualstudio.com/items?itemName=dnut.rewrap-revived
|
||||
//
|
||||
{ // Toggle auto wrap in current document.
|
||||
"key": "ctrl+c q",
|
||||
"command": "rewrap.toggleAutoWrap",
|
||||
"when": "editorTextFocus"
|
||||
},
|
||||
//
|
||||
// ===========================================================================
|
||||
// MARK: Multi-Cursor
|
||||
// ===========================================================================
|
||||
//
|
||||
|
||||
@@ -319,6 +319,20 @@
|
||||
"workbench.editor.defaultBinaryEditor": "hexEditor.hexedit",
|
||||
//
|
||||
// ===========================================================================
|
||||
// MARK: Rewrap Revived
|
||||
// ===========================================================================
|
||||
// Extension:
|
||||
// - https://marketplace.visualstudio.com/items?itemName=dnut.rewrap-revived
|
||||
//
|
||||
// Enable auto-wrap by default. In programming languages it only applies to
|
||||
// comments.
|
||||
"rewrap.autoWrap.enabled": true,
|
||||
// Only wrap the current paragraph when triggering rewrap with alt+q within a
|
||||
// comment.
|
||||
"rewrap.wholeComment": false,
|
||||
//
|
||||
//
|
||||
// ===========================================================================
|
||||
// MARK: Lang: CSS
|
||||
// ===========================================================================
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user