-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemacs.el
40 lines (30 loc) · 1021 Bytes
/
emacs.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
;; Activate Org Mode
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-font-lock-mode 1)
(setq org-todo-keywords
'((sequence "TODO" "INPROG" "REVIEW" "|" "DONE" "DELEGATED")))
(set-default-font "Monospace 12")
;; Enable Line Numbers
(global-linum-mode t)
;; Enforce newline at end of file
(setq require-final-newline t)
;; Disable Toolbar
(tool-bar-mode -1)
;; Disable Menu Bar
(menu-bar-mode -1)
;; Disable Word Wrap
(setq-default truncate-lines 1)
;; Remove Scrollbars from Splits
(scroll-bar-mode -1)
;; Custom Theme
;; Note: This will fail when your version changes. Need better solution
(load "/usr/share/emacs/24.5/etc/themes/manoj-dark-theme.el")
;; Enable copying to the system clipboard
(setq x-select-enable-clipboard t)
;; Ensure Newline at EOF
(setq require-final-newline t)
;; set transparency
;; (set-frame-parameter (selected-frame) 'alpha '(85 85))
;; (add-to-list 'default-frame-alist '(alpha 85 85))