jez / vim-superman

Read Unix man pages faster than a speeding bullet!
http://blog.jez.io/2014/12/20/vim-as-a-man-page-viewer/
MIT License
190 stars 20 forks source link

Don't use $EDITOR, use $VISUAL #19

Open HaleTom opened 6 years ago

HaleTom commented 6 years ago

VISUAL vs EDITOR what's the difference?

The EDITOR editor should be able to work without use of "advanced" terminal functionality (like old ed or ex mode of vi). It was used on teletype terminals.

A VISUAL editor could be a full screen editor as vi or emacs.

Please change to:

${VISUAL:-vim} -c "SuperMan $*"

Visual is where vi got its name from after all! :)