1
0
Fork 0

Add extract method to python refactor hydra

This commit is contained in:
Tom Willemse 2019-07-10 07:58:47 -07:00
parent 9a2dd2a8d7
commit f54af96cfa

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 20190306002919
;; Version: 20190710075756
;; 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
@ -66,7 +66,8 @@ for indentation."
:group 'python-black)
(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)