projects
/
hvlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d9e3eaa
)
Ajouts emacsrc
author
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 22 Aug 2015 18:01:14 +0000
(14:01 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 22 Aug 2015 18:01:14 +0000
(14:01 -0400)
stage5/misc/emacs/emacsrc
patch
|
blob
|
history
diff --git
a/stage5/misc/emacs/emacsrc
b/stage5/misc/emacs/emacsrc
index
913dcab
..
aefc370
100644
(file)
--- a/
stage5/misc/emacs/emacsrc
+++ b/
stage5/misc/emacs/emacsrc
@@
-25,8
+25,12
@@
;; Replaces tabs in files with spaces
(setq-default indent-tabs-mode nil)
;; Replaces tabs in files with spaces
(setq-default indent-tabs-mode nil)
-;; Display trailing whitespace
-(setq-default show-trailing-whitespace t)
+;; empty: Highlight empty lines
+;; lines-tail: Highlight lines over 80 characters
+;; trailing: Highlight trailing whitespace
+(require 'whitespace)
+(setq whitespace-style '(face empty lines-tail trailing))
+(global-whitespace-mode t)
;; Makes the compilation buffer always scrolls to follow
;; output as it comes in.
;; Makes the compilation buffer always scrolls to follow
;; output as it comes in.
@@
-59,6
+63,11
@@
;; Map End key to end-of-buffer
(global-set-key "\e[4~" 'end-of-buffer)
;; Map End key to end-of-buffer
(global-set-key "\e[4~" 'end-of-buffer)
+(require 'org)
+(define-key global-map "\C-cl" 'org-store-link)
+(define-key global-map "\C-ca" 'org-agenda)
+(setq org-log-done t)
+
;;===========================================================
;; Key bindings for compiling programs
;;===========================================================
;;===========================================================
;; Key bindings for compiling programs
;;===========================================================