From 443d6a317df864ee069e4d4ad0e760f8ffbad63f Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 22 Aug 2015 14:01:14 -0400 Subject: [PATCH] Ajouts emacsrc --- stage5/misc/emacs/emacsrc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/stage5/misc/emacs/emacsrc b/stage5/misc/emacs/emacsrc index 913dcab..aefc370 100644 --- 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) -;; 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. @@ -59,6 +63,11 @@ ;; 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 ;;=========================================================== -- 2.20.1