Created
October 18, 2015 06:50
-
-
Save crankyadmin/cd43a78ec40ee2c7229d to your computer and use it in GitHub Desktop.
Add line numbers in programming mode and make the pound sign work on a UK Mac keyboard
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
;; Show line nymbers in programming mode | |
(add-hook 'prog-mode-hook 'linum-mode) | |
;; Allow pound sign to be entered, if you're in the UK and on a Mac you | |
;; probably want to uncomment the below | |
;; (global-set-key (kbd "M-3") '(lambda () (interactive) (insert "#"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment