add modes
This commit is contained in:
parent
0cdf35dcbc
commit
e5b3ba4835
@ -22,7 +22,7 @@
|
|||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(company-terraform terraform-mode yaml-mode company racer rust-mode magit theme-looper myterminal-controls meta-presenter which-key dired-launch material-theme neotree undo-tree ztree buffer-move powerline ace-window ace-jump-mode multiple-cursors helm))))
|
(helm-projectile projectile json-mode jinja2-mode company-terraform terraform-mode yaml-mode company racer rust-mode magit theme-looper myterminal-controls meta-presenter which-key dired-launch material-theme neotree undo-tree ztree buffer-move powerline ace-window ace-jump-mode multiple-cursors helm))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
("s--" . text-scale-decrease)
|
("s--" . text-scale-decrease)
|
||||||
("s-=" . text-scale-increase)
|
("s-=" . text-scale-increase)
|
||||||
("C-c m" . magit-status)
|
("C-c m" . magit-status)
|
||||||
|
("C-c g" . helm-projectile-grep)
|
||||||
))
|
))
|
||||||
|
|
||||||
(defun super-emacs-apply-keyboard-bindings (pair)
|
(defun super-emacs-apply-keyboard-bindings (pair)
|
||||||
|
@ -22,8 +22,10 @@
|
|||||||
magit
|
magit
|
||||||
rust-mode
|
rust-mode
|
||||||
yaml-mode
|
yaml-mode
|
||||||
|
jinja2-mode
|
||||||
|
json-mode
|
||||||
terraform-mode
|
terraform-mode
|
||||||
terraform-company
|
company-terraform
|
||||||
racer
|
racer
|
||||||
company
|
company
|
||||||
projectile
|
projectile
|
||||||
@ -51,6 +53,19 @@
|
|||||||
(setq company-idle-delay 0)
|
(setq company-idle-delay 0)
|
||||||
(setq company-minimum-prefix-length 2)
|
(setq company-minimum-prefix-length 2)
|
||||||
|
|
||||||
|
(defvar company-mode-whitelist
|
||||||
|
'(
|
||||||
|
js-mode-hook
|
||||||
|
python-mode-hook
|
||||||
|
rust-mode-hook
|
||||||
|
lisp-mode-hook
|
||||||
|
terraform-mode-hook
|
||||||
|
))
|
||||||
|
|
||||||
|
(mapc (lambda (h)
|
||||||
|
(add-hook h #'company-mode))
|
||||||
|
company-mode-whitelist)
|
||||||
|
|
||||||
|
|
||||||
;Set up ace-jump-mode
|
;Set up ace-jump-mode
|
||||||
(autoload 'ace-jump-mode
|
(autoload 'ace-jump-mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user