Merge pull request #1 from andrewgarner/7c6c2e0d70f40cc436e6f67e418f921b57b0a2aa

Function to insert hash symbol
This commit is contained in:
2012-01-09 03:49:24 -08:00
2 changed files with 12 additions and 0 deletions

View File

@@ -16,6 +16,15 @@
(indent-region (region-beginning) (region-end) nil))))))
;;
;; Insert Hash
;;
(defun insert-hash()
"Inserts a hash into the buffer"
(interactive)
(insert "#"))
;;
;; Duplicate Line
;;

View File

@@ -103,6 +103,9 @@
(define-key global-map (kbd "C-c r") 'org-remember)
(define-key global-map (kbd "C-M-r") 'org-remember)
;; Allow hash to be entered
(global-set-key (kbd "M-3") 'insert-hash)
;; ElScreen related shortcuts
(when (require 'elscreen nil 'noerror)