summaryrefslogtreecommitdiff
path: root/.emacs.d/evil-settings.el
blob: 9821a4ff130372881a56904f94b794296367ef84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; correct cursor color
(setq evil-default-cursor (quote (t "Grey")))

; Y == y$
(evil-define-operator evil-yank-line-end (beg end type register)
                       "Yank to end of line."
                       :motion evil-end-of-line
                       (interactive "<R><x>")
                       (evil-yank beg end type register))

(define-key evil-normal-state-map "Y" 'evil-yank-line-end)

; make unicode-tokens work
(setq repair-unicode-shortcuts
  '(progn
    (message "Repairing Unicode Shortcuts for Evil")
    (unicode-tokens-use-shortcuts 0)
    (unicode-tokens-use-shortcuts 1)))

(eval-after-load 'isar repair-unicode-shortcuts)