dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
LinearArray to Programmer Humor@programming.devEnglish • 1 year ago

My wife was unimpressed by Vim

programming.dev

message-square
180
fedilink
961

My wife was unimpressed by Vim

programming.dev

LinearArray to Programmer Humor@programming.devEnglish • 1 year ago
message-square
180
fedilink
  • PureTryOut
    link
    fedilink
    27•1 year ago

    export EDITOR=nano.

    But (neo)vim is amazing so there is no need to do that.

    • @SpaceNoodle@lemmy.world
      link
      fedilink
      18•1 year ago

      I transfer all my files over to a Windows machine and edit them in Notepad

    • @ryannathans@aussie.zone
      link
      fedilink
      4•
      edit-2
      1 year ago

      Based nano user

      From my .zshrc (typing this on mobile so cope if it’s wrong)

      case "$OSTYPE" in
        linux*)
          export EDITOR=nano
        ;;
        freebsd*)
          export EDITOR=ee
        ;;
      
      • @lil@lemy.lol
        link
        fedilink
        2•1 year ago

        I guess shell languages can’t do this:

        export EDITOR=case "$OSTYPE" in
          linux*)
            nano
          ;;
          freebsd*)
            ee
          ;;
        
        • @ryannathans@aussie.zone
          link
          fedilink
          3•
          edit-2
          1 year ago

          That would be too smart. Smells like kotlin’s when

        • @SpaceNoodle@lemmy.world
          link
          fedilink
          2•1 year ago

          Put backticks around the entire case statement, and you can.

Programmer Humor@programming.dev

!programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 1.28K users / day
  • 4.76K users / week
  • 8.65K users / month
  • 17K users / 6 months
  • 23.2K subscribers
  • 1.37K Posts
  • 48.3K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org