python: What is this?

This commit is contained in:
nemunaire 2025-11-03 18:18:41 +07:00
commit c9a7cff17a

View file

@ -1,33 +1,4 @@
(custom-set-variables
'(python-indent 4))
(defun python-mode-setup ()
;; ------------- ;;
;; CONFIGURATION ;;
;; ------------- ;;
;; Comment boxing style
(set 'my-rebox-style 423)
;; -------- ;;
;; BINDINGS ;;
;; -------- ;;
;; comment
(define-key
py-mode-map
[(control c) (control c)]
'comment-region)
;; rebox
(define-key
py-mode-map
[(meta q)]
'my-rebox-comment)
)
(add-hook 'python-mode-hook 'python-mode-setup)
(provide 'my-python-mode)