dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ac3c450bb5b3a1be22aeda2d43307e4098fcd214
parent 94063ef05176c73cdba7fac3ed16cab581a61511
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Wed, 30 Apr 2014 11:38:43 +0200

added leader key bindings

Diffstat:
M.emacs.d/init.el | 12+++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/.emacs.d/init.el b/.emacs.d/init.el @@ -80,6 +80,15 @@ ;; customized Vim-like behavior (require 'evil) (evil-mode 1) +(global-evil-leader-mode) ;; enable evil-leader in every evil buffer +(evil-leader/set-key + "e" 'find-file + "b" 'switch-to-buffer + "k" 'kill-buffer + "s" 'flyspell-mode + "S" 'ispell + "n" 'linum-mode + "w" 'whitespace-mode) (require 'powerline) (powerline-default-theme) ;(powerline-vim-theme) @@ -107,7 +116,8 @@ (global-hl-line-mode) ; highlight current line -(global-linum-mode 1) ; add line numbers on the left +;(global-linum-mode 1) ; add line numbers on the left +(global-linum-mode) ; add line numbers on the left ;; add org shortcuts (define-key global-map "\C-cl" 'org-store-link)