Add Dash integration

This commit is contained in:
Maciej Szlosarczyk 2017-08-26 20:19:32 +03:00
parent 1426dfecd7
commit 90f783392e
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
3 changed files with 8 additions and 3 deletions

3
emacs
View file

@ -20,9 +20,6 @@
'(foreground-color "#cccccc") '(foreground-color "#cccccc")
'(hl-paren-background-colors (quote ("#2492db" "#95a5a6" nil))) '(hl-paren-background-colors (quote ("#2492db" "#95a5a6" nil)))
'(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b"))) '(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b")))
'(package-selected-packages
(quote
(window-purpose)))
'(safe-local-variable-values (quote ((encoding . utf-8)))) '(safe-local-variable-values (quote ((encoding . utf-8))))
'(sml/active-background-color "#34495e") '(sml/active-background-color "#34495e")
'(sml/active-foreground-color "#ecf0f1") '(sml/active-foreground-color "#ecf0f1")

View file

@ -55,6 +55,10 @@
(evil-leader/set-key "Jl" 'dumb-jump-go); Jump to declaration (evil-leader/set-key "Jl" 'dumb-jump-go); Jump to declaration
(evil-leader/set-key "Jh" 'dumb-jump-back); Jump back from declariation (evil-leader/set-key "Jh" 'dumb-jump-back); Jump back from declariation
;; Dash integration
(require 'dash-at-point)
(evil-leader/set-key "d" 'dash-at-point)
(require 'evil) (require 'evil)
;;; VIM insert mode things ;;; VIM insert mode things
(define-key evil-insert-state-map "\C-a" 'company-yasnippet) (define-key evil-insert-state-map "\C-a" 'company-yasnippet)

View file

@ -47,6 +47,10 @@
(unless (package-installed-p 'window-purpose) (unless (package-installed-p 'window-purpose)
(package-install 'window-purpose)) (package-install 'window-purpose))
;; Dash integration
(unless (package-installed-p 'dash-at-point)
(package-install 'dash-at-point))
;; Project management ;; Project management
(unless (package-installed-p 'projectile) (unless (package-installed-p 'projectile)
(package-install 'projectile)) (package-install 'projectile))