This repository has been archived by the owner on Sep 12, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reflow current selection, falling back to current paragraph if nothin…
…g is selected
- Loading branch information
Matt Swanson
committed
Mar 26, 2014
1 parent
8982c8b
commit 9f71d13
Showing
6 changed files
with
44 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Autoflow package | ||
|
||
Format the current paragraph to have lines no longer than 80 characters using | ||
`cmd-alt-q` | ||
Format the current selection to have lines no longer than 80 characters using | ||
`cmd-alt-q`. If nothing is selected, the current paragraph will be reflowed. | ||
|
||
This packages uses the config value of `editor.preferredLineLength` when set. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
'.platform-darwin .editor': | ||
'alt-cmd-q': 'autoflow:reflow-paragraph' | ||
'alt-cmd-shift-q': 'autoflow:reflow-selection' | ||
'alt-cmd-q': 'autoflow:reflow-selection' | ||
|
||
'.platform-win32 .editor': | ||
'alt-ctrl-q': 'autoflow:reflow-paragraph' | ||
'alt-ctrl-shift-q': 'autoflow:reflow-selection' | ||
'alt-ctrl-q': 'autoflow:reflow-selection' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters