This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+frameworks/emberjs/packages.el

78 lines
2.3 KiB
EmacsLisp
Raw Normal View History

2016-02-04 11:21:09 +00:00
;;; packages.el --- emberjs layer packages file for Spacemacs.
;;
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
2016-02-04 11:21:09 +00:00
;;
;; Author: Robert O'Connor <robby.oconnor@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;;; Commentary:
;;; Code:
(defconst emberjs-packages
'(ember-mode
ember-yasnippets))
(defun emberjs/init-ember-mode ()
(use-package ember-mode
:defer t
2018-07-19 22:02:50 +00:00
:config
(spacemacs/declare-prefix-for-mode 'ember-mode "f" "framework")
2016-02-04 11:21:09 +00:00
(spacemacs/declare-prefix-for-mode 'ember-mode "fd" "destroy")
2018-07-19 22:02:50 +00:00
(spacemacs/declare-prefix-for-mode 'ember-mode "ff" "find")
(spacemacs/declare-prefix-for-mode 'ember-mode "fg" "generate")
2016-02-04 11:21:09 +00:00
(spacemacs/declare-prefix-for-mode 'ember-mode "fr" "run")
(spacemacs/set-leader-keys-for-minor-mode 'ember-mode
2018-07-19 22:02:50 +00:00
;; Destroy
"fdc" 'ember-destroy-controller
"fdm" 'ember-destroy-model
"fdo" 'ember-destroy-router
"fdp" 'ember-destroy-component
"fdr" 'ember-destroy-route
"fdj" 'ember-destroy-javascript
"fdt" 'ember-destroy-template
"fdx" 'ember-destroy-mixin
"fdi" 'ember-destroy-initializer
"fdu" 'ember-destroy-util
"fds" 'ember-destroy-service
"fdd" 'ember-destroy
;; Find
2016-02-04 11:21:09 +00:00
"ffc" 'ember-open-controller
"ffm" 'ember-open-model
"ffo" 'ember-open-router
"ffp" 'ember-open-component
"ffr" 'ember-open-route
"ffj" 'ember-open-javascript
"fft" 'ember-open-template
"ffx" 'ember-open-mixin
"ffi" 'ember-open-initializer
"ffu" 'ember-open-util
"ffs" 'ember-open-service
2018-07-19 22:02:50 +00:00
;; Generate
2016-02-04 11:21:09 +00:00
"fgc" 'ember-generate-controller
"fgm" 'ember-generate-model
"fgo" 'ember-generate-router
"fgp" 'ember-generate-component
"fgr" 'ember-generate-route
"fgj" 'ember-generate-javascript
"fgt" 'ember-generate-template
"fgx" 'ember-generate-mixin
"fgi" 'ember-generate-initializer
"fgu" 'ember-generate-util
"fgs" 'ember-generate-service
"fgg" 'ember-generate
2018-07-19 22:02:50 +00:00
;; Run
2016-02-04 11:21:09 +00:00
"frb" 'ember-build
"frs" 'ember-serve-or-display
"frt" 'ember-test)))
(defun emberjs/init-ember-yasnippets ()
(use-package ember-yasnippets
:defer t))
;;; packages.el ends here