Add extract method to python refactor hydra
This commit is contained in:
parent
9a2dd2a8d7
commit
f54af96cfa
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 20190306002919
|
;; Version: 20190710075756
|
||||||
;; Package-Requires: (oni-company company-jedi oni-fci oni-flycheck rainbow-delimiters reformatter traad hydra)
|
;; Package-Requires: (oni-company company-jedi oni-fci oni-flycheck rainbow-delimiters reformatter traad hydra)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -66,7 +66,8 @@ for indentation."
|
||||||
:group 'python-black)
|
:group 'python-black)
|
||||||
|
|
||||||
(defhydra python-refactor-hydra (:color blue)
|
(defhydra python-refactor-hydra (:color blue)
|
||||||
("r" traad-rename "Rename object"))
|
("r" traad-rename "Rename object")
|
||||||
|
("m" traad-extract-method "Extract method"))
|
||||||
|
|
||||||
(define-key python-mode-map (kbd "C-c r") 'python-refactor-hydra/body)
|
(define-key python-mode-map (kbd "C-c r") 'python-refactor-hydra/body)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue