#textmanipulation — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #textmanipulation, aggregated by home.social.
-
It would be so incredibly awesome if the MS Office/LibreOffice shortcut of Shift+F3 – to switch between different types of capitalization/case for selected text – could be implemented as a generic shortcut in Linux, that just worked in every application.
-
Discovered a neat new tool last week: https://github.com/wr7/refold
It's similar to `fmt` and `fold` except that it automatically handles prefixes. Vim/Neovim `gq` can do this out of the box but fails (for me at least) when multiple prefixes are present, such as a Markdown block-quote inside Rust comments. E.g.
```
// > Some quoted text
// > to reflow.
````refold` handles this.
#Rust #RustLang #TextProcessing #TextManipulation #TextEditor
-
Discovered a neat new tool last week: https://github.com/wr7/refold
It's similar to `fmt` and `fold` except that it automatically handles prefixes. Vim/Neovim `gq` can do this out of the box but fails (for me at least) when multiple prefixes are present, such as a Markdown block-quote inside Rust comments. E.g.
```
// > Some quoted text
// > to reflow.
````refold` handles this.
#Rust #RustLang #TextProcessing #TextManipulation #TextEditor
-
Discovered a neat new tool last week: https://github.com/wr7/refold
It's similar to `fmt` and `fold` except that it automatically handles prefixes. Vim/Neovim `gq` can do this out of the box but fails (for me at least) when multiple prefixes are present, such as a Markdown block-quote inside Rust comments. E.g.
```
// > Some quoted text
// > to reflow.
````refold` handles this.
#Rust #RustLang #TextProcessing #TextManipulation #TextEditor
-
Discovered a neat new tool last week: https://github.com/wr7/refold
It's similar to `fmt` and `fold` except that it automatically handles prefixes. Vim/Neovim `gq` can do this out of the box but fails (for me at least) when multiple prefixes are present, such as a Markdown block-quote inside Rust comments. E.g.
```
// > Some quoted text
// > to reflow.
````refold` handles this.
#Rust #RustLang #TextProcessing #TextManipulation #TextEditor
-
I tend to follow the logic of `awk` better than the one of `sed` (not being a `vi` enthusiast), but it is good to see when one might be better than the other:
https://www.linuxjournal.com/content/text-manipulation-linux-awk-vs-sed
-
📝 "Automating sentences with R"
👤 Cara Thompson (@cararthompson)
🔗 https://www.cararthompson.com/posts/2022-09-09-automating-sentences-with-r