Initial commit

This commit is contained in:
Némunaire 2012-10-13 21:35:28 +02:00
commit 99e3df82b7
28 changed files with 2639 additions and 0 deletions

33
stuff/my-python-mode.el Executable file
View file

@ -0,0 +1,33 @@
(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)