Last active
August 21, 2017 05:42
-
-
Save tek-nishi/3e25d3810062e2ffda3415b9830f1dc8 to your computer and use it in GitHub Desktop.
Add dired font lock of executable file
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
(font-lock-add-keywords 'dired-mode | |
'((" +-[rw-]+x" | |
(".+" (dired-move-to-filename) | |
nil | |
(0 'font-lock-string-face))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment