Created
March 25, 2014 23:31
Use to replace less with vim for syntax highlighting, among other benefits...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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