My Technical Notes

Monday, 12 September 2011

emacs init.el


;; --- start of tahirhassan.blogspot.com --- ;;

;; need to have the below or equivalent:
;; (add-to-list 'load-path "/Documents and Settings/hasst001/Application Data/.emacs.d")

(require 'bar-cursor)
(bar-cursor-mode 1)

(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)

(setq inhibit-startup-message t)
(setq initial-scratch-message "")

(global-set-key (kbd "<C-M-S-return>") 'org-insert-todo-subheading)
(global-set-key (kbd "C-z") 'undo)
(global-set-key (kbd "C-v") 'clipboard-yank)
(display-time)

;; --- end of tahirhassan.blogspot.com --- ;;

No comments: