-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.el
46 lines (37 loc) · 1.27 KB
/
packages.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
(require 'package)
(setq package-enable-at-startup nil)
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
("org" . "https://orgmode.org/elpa/")
("melpa" . "https://melpa.org/packages/")))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(use-package night-owl-theme
:ensure t
:init (progn
(load "night-owl-theme")))
(use-package find-file-in-project
:ensure t
:init (progn
(require 'find-file-in-project)
(setq ffip-prune-patterns `("*/cypress" ,@ffip-prune-patterns))
(setq ffip-prune-patterns `("*/coverage" ,@ffip-prune-patterns))
(setq ffip-prune-patterns `("*/android" ,@ffip-prune-patterns))
(setq ffip-prune-patterns `("*/ios" ,@ffip-prune-patterns))
(setq ffip-prefer-ido-mode t)
(global-set-key (kbd "M-t") 'find-file-in-project)))
(use-package magit
:ensure t
:init (progn
(global-set-key (kbd "C-x g") 'magit-status)
(global-set-key (kbd "C-x v") 'magit-log-buffer-file)))
;; Dev
(use-package rjsx-mode
:ensure t)
(use-package web-mode
:ensure t)
(use-package yaml-mode
:ensure t)
(use-package rainbow-mode
:ensure t)