Add python-mode support for beginning-of-definition ahs plugin
ahs is auto-highlight-symbol
This commit is contained in:
parent
f33becd29c
commit
e31b69b8ab
|
@ -1225,6 +1225,9 @@ which require an initialization must be listed explicitly in the list.")
|
|||
(newline-and-indent)
|
||||
(insert "import pdb; pdb.set_trace()")
|
||||
(save-buffer))
|
||||
;; add support for `ahs-range-beginning-of-defun' for python-mode
|
||||
(eval-after-load 'auto-highlight-symbol
|
||||
'(add-to-list 'ahs-plugin-bod-modes 'python-mode))
|
||||
(evil-leader/set-key-for-mode 'python-mode
|
||||
"mB" (lambda ()
|
||||
" Send buffer content to shell and switch to it in insert mode."
|
||||
|
|
Loading…
Reference in a new issue