• PureTryOut
      link
      fedilink
      267 months ago

      export EDITOR=nano.

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

      • @SpaceNoodle
        link
        177 months ago

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

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

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