Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
LinearArray to Programmer [email protected]English • 1 year ago

My wife was unimpressed by Vim

programming.dev

message-square
180
fedilink
960

My wife was unimpressed by Vim

programming.dev

LinearArray to Programmer [email protected]English • 1 year ago
message-square
180
fedilink
  • @[email protected]
    link
    fedilink
    31•1 year ago

    alias vi=nano

    • tiredofsametab
      link
      fedilink
      2•1 year ago

      You can set your default editor (maybe in .bashrc or .bash_profile? I forget), but I’m far too lazy.

    • PureTryOut
      link
      fedilink
      27•1 year ago

      export EDITOR=nano.

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

      • @[email protected]
        link
        fedilink
        18•1 year ago

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

      • @[email protected]
        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
          ;;
        
        • @[email protected]
          link
          fedilink
          2•
          edit-2
          10 months ago

          deleted by creator

          • @[email protected]
            link
            fedilink
            3•
            edit-2
            1 year ago

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

          • @[email protected]
            link
            fedilink
            2•1 year ago

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

Programmer [email protected]

[email protected]
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: [email protected]

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
  • 31 users / day
  • 421 users / week
  • 1.63K users / month
  • 4.3K users / 6 months
  • 3 subscribers
  • 1.54K Posts
  • 54.7K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org