Remove prefix commands in python and ruby layers

Resolves #569
This commit is contained in:
syl20bnr 2015-02-12 22:08:07 -05:00
parent 753b4ec433
commit 1a02477d51
2 changed files with 26 additions and 25 deletions

View file

@ -12,17 +12,17 @@
;; Command prefixes
(setq python/key-binding-prefixes
'(; django/pony-mode
("mj" . "django")
("mjr" . "runserver")
("mji" . "shells")
("mjs" . "south/syncdb")
("mjt" . "test")
("mjf" . "files")
("mja" . "fabric")
; pyenv/pyenv-mode
("mp" . "pyenv")))
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
python/key-binding-prefixes)
;; not supported for now
;; (setq python/key-binding-prefixes
;; '(; django/pony-mode
;; ("mj" . "django")
;; ("mjr" . "django-runserver")
;; ("mji" . "django-shells")
;; ("mjs" . "django-south/syncdb")
;; ("mjt" . "django-test")
;; ("mjf" . "django-files")
;; ("mja" . "django-fabric")
;; ; pyenv/pyenv-mode
;; ("mp" . "pyenv")))
;; (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
;; python/key-binding-prefixes)

View file

@ -18,14 +18,15 @@
(defvar ruby-enable-ruby-on-rails-support nil
"If non nil we'll load support for Rails (haml, features, navigation)")
(setq ruby/key-binding-prefixes
'(("mrc" . "compile/generate")
("mrg" . "goto")
("mrf" . "find")
("mrr" . "rake")
("mrR" . "refactoring")
("mrs" . "REPL")
("mrx" . "run")))
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
ruby/key-binding-prefixes)
;; not supported for now
;; (setq ruby/key-binding-prefixes
;; '(("mr" . "RoR")
;; ("mrc" . "RoR-compile/generate")
;; ("mrg" . "RoR-goto")
;; ("mrf" . "RoR-find")
;; ("mrr" . "RoR-rake")
;; ("mrR" . "RoR-refactoring")
;; ("mrs" . "RoR-REPL")
;; ("mrx" . "RoR-run")))
;; (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
;; ruby/key-binding-prefixes)