You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This vim script defines a function that will (mostly) format sentences on one line.
22
22
It screws up on colons and and question marks if text is after it, but otherwise is fairly accurate.
23
+
24
+
### Usage
25
+
26
+
```vim
27
+
:call FormatSentence()
28
+
```
29
+
30
+
To attach it to a key sequence, for example `Ctrl+Shift+p`
31
+
32
+
```vim
33
+
nnoremap <C-S-p> :call FormatSentence()<CR>
34
+
```
35
+
36
+
## Contribution
37
+
38
+
If you'd like to contribute, please open a pull require on [the Github](https://github.com/bytetools/formatting-tools/) unless you work for Bytetools and have permissions.
0 commit comments