better emacs, better slate
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
(require 'package)
|
||||
(setq package-enable-at-startup nil)
|
||||
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
|
||||
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
|
||||
(add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/"))
|
||||
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
|
||||
(package-initialize)
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
(package-refresh-contents)
|
||||
(package-install 'use-package))
|
||||
|
||||
|
||||
(autoload 'dired-async-mode "dired-async.el" nil t)
|
||||
(dired-async-mode 1)
|
||||
(async-bytecomp-package-mode 1)
|
||||
|
||||
;;add ternjs to emacs
|
||||
(add-to-list 'load-path "~/Development/util/tern/emacs/")
|
||||
(autoload 'tern-mode "tern.el" nil t)
|
||||
@@ -68,8 +73,24 @@
|
||||
:ensure t)
|
||||
(use-package helm
|
||||
:ensure t
|
||||
:bind(:map helm-mode-map
|
||||
("C-c h" . helm-execute-persistent-action)))
|
||||
:diminish helm-mode
|
||||
:init (progn
|
||||
(require 'helm-config)
|
||||
(helm-mode)
|
||||
)
|
||||
:bind(("C-c h" . helm-mini)
|
||||
("C-h a" . helm-apropos)
|
||||
("C-x C-b" . helm-buffers-list)
|
||||
("C-x b" . helm-buffers-list)
|
||||
("M-y" . helm-show-kill-ring)
|
||||
("M-x" . helm-M-x)
|
||||
("C-x c o" . helm-occur)
|
||||
("C-x c s" . helm-swoop)
|
||||
("C-x c y" . helm-yas-complete)
|
||||
("C-x c Y" . helm-yas-create-snippet-on-region)
|
||||
("C-x c b" . my/helm-do-grep-book-notes)
|
||||
("C-x c SPC" . helm-all-mark-rings))
|
||||
)
|
||||
|
||||
|
||||
(custom-set-variables
|
||||
@@ -79,7 +100,7 @@
|
||||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(jq-mode web-beautify use-package tern-auto-complete rustfmt racer neotree magit json-reformat js2-highlight-vars jedi helm flymake-rust flycheck-rust csharp-mode company-jedi cargo))))
|
||||
(go-mode jq-mode web-beautify use-package tern-auto-complete rustfmt racer neotree magit json-reformat js2-highlight-vars jedi helm flymake-rust flycheck-rust csharp-mode company-jedi cargo))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
||||
Reference in New Issue
Block a user