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 ;; Command prefixes
(setq python/key-binding-prefixes ;; not supported for now
'(; django/pony-mode ;; (setq python/key-binding-prefixes
("mj" . "django") ;; '(; django/pony-mode
("mjr" . "runserver") ;; ("mj" . "django")
("mji" . "shells") ;; ("mjr" . "django-runserver")
("mjs" . "south/syncdb") ;; ("mji" . "django-shells")
("mjt" . "test") ;; ("mjs" . "django-south/syncdb")
("mjf" . "files") ;; ("mjt" . "django-test")
("mja" . "fabric") ;; ("mjf" . "django-files")
; pyenv/pyenv-mode ;; ("mja" . "django-fabric")
("mp" . "pyenv"))) ;; ; pyenv/pyenv-mode
;; ("mp" . "pyenv")))
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x))) ;; (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
python/key-binding-prefixes) ;; python/key-binding-prefixes)

View file

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