• PureTryOut
      link
      fedilink
      269 months ago

      export EDITOR=nano.

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

      • @SpaceNoodle
        link
        179 months ago

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

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

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