Skip to content

Instantly share code, notes, and snippets.

@Darkilen
Forked from chauncey-garrett/vimless.sh
Created August 28, 2020 09:15
Show Gist options
  • Save Darkilen/644f24c892d4d445c033c39063af8d1c to your computer and use it in GitHub Desktop.
Save Darkilen/644f24c892d4d445c033c39063af8d1c to your computer and use it in GitHub Desktop.
Use to replace less with vim for syntax highlighting, among other benefits...
# Add vi customization to less
VLESS=$(find /usr/share/vim -name 'less.sh')
if [ ! -z $VLESS ]; then
alias less=$VLESS
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment