From f54af96cfaf9a589f4f7b3d61e6d8e6a681bd166 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 10 Jul 2019 07:58:47 -0700 Subject: [PATCH] Add extract method to python refactor hydra --- oni-python.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oni-python.el b/oni-python.el index 2804f5b..053bbc5 100644 --- a/oni-python.el +++ b/oni-python.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; 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)