home.social

#textmanipulation — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #textmanipulation, aggregated by home.social.

  1. 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.

    #linux #gnome #kde #TextManipulation

  2. Discovered a neat new tool last week: 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

  3. Discovered a neat new tool last week: 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

  4. Discovered a neat new tool last week: 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

  5. Discovered a neat new tool last week: 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

  6. 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:

    linuxjournal.com/content/text-

    #TextManipulation #ETL #cli #awk #sed #regexp