From: Ramakrishnan Muthukrishnan Date: Tue, 23 Dec 2014 17:17:57 +0000 (+0530) Subject: ido mode and a bunch of other small niceties X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/flags/class-simplejson.JSONDecoder.html?a=commitdiff_plain;h=9411c63fdf57b7675572f18434e0d63ecacf30ca;p=.emacs.d.git ido mode and a bunch of other small niceties --- diff --git a/init.el b/init.el index 9f0ad8b..7a55c5e 100644 --- a/init.el +++ b/init.el @@ -16,7 +16,7 @@ (setq visible-bell t) ;; This is bound to f11 in Emacs 24.4 -;; (toggle-frame-fullscreen) +;; (toggle-frame-fullscreen) (custom-set-variables '(initial-frame-alist (quote ((fullscreen . maximized))))) ;; Who use the bar to scroll? @@ -35,7 +35,7 @@ '("marmalade" . "http://marmalade-repo.org/packages/") t) (package-initialize) -; fetch the list of packages available +; fetch the list of packages available (unless package-archive-contents (package-refresh-contents)) @@ -113,4 +113,21 @@ (autoload 'ghc-init "ghc" nil t) (autoload 'ghc-debug "ghc" nil t) (add-hook 'haskell-mode-hook (lambda () (ghc-init))) - + +;; ido +(setq ido-enable-flex-matching t) +(setq ido-everywhere t) +(ido-mode 1) + +;; disable tabs for indentation +(setq-default indent-tabs-mode nil) + +(require 'whitespace) +(setq whitespace-style '(face lines-tail)) +(setq whitespace-line-column 80) +(global-whitespace-mode t) + +;; show trailing whitespaces +(setq-default show-trailing-whitespace t) +(setq-default indicate-empty-lines t) +