lemmy.billiam.net
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tetris11@lemmy.ml to Linux@lemmy.ml · 1 month ago

Less vs More, what's your poison?

message-square
message-square
49
link
fedilink
52
message-square

Less vs More, what's your poison?

tetris11@lemmy.ml to Linux@lemmy.ml · 1 month ago
message-square
49
link
fedilink
alert-triangle
You must log in or register to comment.
  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    1 month ago

    LESSOPEN='| highlight --line-numbers -qs candy --out-format=xterm256 --stdout -i %s'

    • tetris11@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      is that an alias or a sys env?

      • MonkderVierte@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 month ago

        Sys env. It adds syntax highlighting to less. Needs the highlight tool of course, there are others.

        • tetris11@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 month ago

          oh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao

          • MonkderVierte@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            1 month ago

            Yeah, less is weird there with needing the pipe.

  • zaphodb2002@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 month ago

    Most!

  • ferric_carcinization@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    Neither, bat or neovim.

  • SpicySquid@lemmy.ml
    link
    fedilink
    arrow-up
    26
    ·
    1 month ago

    Less, but actually bat

    • tetris11@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      I use bat sometimes, but how do you stop it from wrapping lines?

      • msherburn33@lemmy.ml
        link
        fedilink
        arrow-up
        17
        ·
        edit-2
        1 month ago

        I use bat sometimes, but how do you stop it from wrapping lines?

        $ cat ~/.config/bat/config
        --wrap=never
        
        • Jerkface (any/all)@lemmy.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 month ago

          You dropped your friggin’ > in another thread and I just stepped on it. Pain like Lego.

          • Hule@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            Souldn’t there be two of those to append?

            Ow! ^

        • tetris11@lemmy.mlOP
          link
          fedilink
          arrow-up
          4
          ·
          1 month ago

          I ain’t got no time for no config! I’m a busy man!

        • timroerstroem@feddit.dk
          link
          fedilink
          arrow-up
          14
          arrow-down
          1
          ·
          1 month ago

          $ cat ~/.config/bat/config

          The irony.

  • LupusBlackfur@lemmy.world
    link
    fedilink
    arrow-up
    31
    arrow-down
    1
    ·
    1 month ago

    Been using Less for so long…

    Forgot More existed. 🤷‍♂️

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    29
    ·
    1 month ago

    I don’t know why anyone would use more when less is more with more features.

  • AndyRTR@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    30 days ago

    alias less=‘moar’

  • nao@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 month ago

    more only if less is not available

  • 柊 つかさ@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 month ago

    less or bat, but I usually use by paging up and down so it’s not that different from more… My terminal emulator only pages up and down, I like it that way.

  • Jerkface (any/all)@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 month ago

    I use a teletype. My scrollback is INFINITE.

    • tetris11@lemmy.mlOP
      link
      fedilink
      arrow-up
      6
      ·
      1 month ago

      your buffer size must exceed several floppies!

  • ABetterTomorrow@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 month ago

    Depends…

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 month ago

    Less, then “vim -” after I realize I don’t know how to use less.

  • PoisonedPrisonPanda@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    1 month ago

    Isn’t more like the main driver for our prospering civilization?

    Some might say that the shift in desiring less is the downward path for the over-saturated humanity.

    But lets not get too deep here.

  • The Bard in Green@lemmy.starlightkel.xyz
    link
    fedilink
    arrow-up
    5
    ·
    1 month ago

    tail -f of vim

  • simonced@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    I use more because I learned more first. Now it’s in muscle memory, so I won’t change anytime soon.

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 846 users / day
  • 3.27K users / week
  • 6.43K users / month
  • 17.7K users / 6 months
  • 4 local subscribers
  • 55.5K subscribers
  • 7.86K Posts
  • 207K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • nooter692@lemmy.ml
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org