• PureTryOut
      link
      fedilink
      268 months ago

      export EDITOR=nano.

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

      • @SpaceNoodle
        link
        178 months ago

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

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

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