My wife was unimpressed by Vim

LinearArray@programming.dev to Programmer Humor@programming.dev – 935 points –
174

You are viewing a single comment

export EDITOR=nano.

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

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

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
  ;;

I guess shell languages can't do this:

export EDITOR=case "$OSTYPE" in
  linux*)
    nano
  ;;
  freebsd*)
    ee
  ;;