-
-
Save Darkilen/644f24c892d4d445c033c39063af8d1c to your computer and use it in GitHub Desktop.
Use to replace less with vim for syntax highlighting, among other benefits...
This file contains hidden or 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