lemmy.billiam.net
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tetris11@lemmy.ml
cake
to Linux@lemmy.ml · 16 days 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
cake
to Linux@lemmy.ml · 16 days ago
message-square
49
link
fedilink
alert-triangle
You must log in or register to comment.
  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    16 days ago

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

    • tetris11@lemmy.ml
      cake
      OP
      link
      fedilink
      arrow-up
      1
      ·
      16 days ago

      is that an alias or a sys env?

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

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

        • tetris11@lemmy.ml
          cake
          OP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          16 days 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
            ·
            16 days ago

            Yeah, less is weird there with needing the pipe.

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

    Most!

  • ferric_carcinization@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    16 days ago

    Neither, bat or neovim.

  • SpicySquid@lemmy.ml
    link
    fedilink
    arrow-up
    26
    ·
    16 days ago

    Less, but actually bat

    • tetris11@lemmy.ml
      cake
      OP
      link
      fedilink
      arrow-up
      2
      ·
      16 days ago

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

      • msherburn33@lemmy.ml
        link
        fedilink
        arrow-up
        17
        ·
        edit-2
        16 days 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
          cake
          link
          fedilink
          English
          arrow-up
          3
          ·
          16 days 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
            ·
            14 days ago

            Souldn’t there be two of those to append?

            Ow! ^

        • tetris11@lemmy.ml
          cake
          OP
          link
          fedilink
          arrow-up
          4
          ·
          16 days 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
          ·
          16 days ago

          $ cat ~/.config/bat/config

          The irony.

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

    Been using Less for so long…

    Forgot More existed. 🤷‍♂️

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    29
    ·
    16 days 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
    ·
    13 days ago

    alias less=‘moar’

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

    more only if less is not available

  • 柊 つかさ@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    16 days 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
    cake
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    16 days ago

    I use a teletype. My scrollback is INFINITE.

    • tetris11@lemmy.ml
      cake
      OP
      link
      fedilink
      arrow-up
      6
      ·
      16 days ago

      your buffer size must exceed several floppies!

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

    Depends…

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    14 days 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
    ·
    16 days 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
    ·
    16 days ago

    tail -f of vim

  • simonced@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    15 days 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.

  • 1.29K users / day
  • 2.8K users / week
  • 6.29K users / month
  • 17.3K users / 6 months
  • 4 local subscribers
  • 54.8K subscribers
  • 7.67K Posts
  • 205K 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