mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Added function to insert hash symbol
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user