Created
January 1, 2019 13:01
-
-
Save jfbu/90f1efd401481a35adab0a5528ae5bbb to your computer and use it in GitHub Desktop.
some emacs customization (rst mode)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun jfbu/rst-mode-hook () | |
(electric-indent-mode 0) ; Arrrggh! 6 janvier 2015 pour ReST | |
(define-key rst-mode-map (kbd "TAB") 'indent-for-tab-command) | |
(setq tab-width 3); à tester à l'usage. | |
(setq indent-tabs-mode nil) ; 9 janvier, afin de ne jamais avoir | |
; d'insertion de TABs par auto-fill. OK ÇA MARCHE. et je n'ai pas l'impression | |
; que ça pertube indent-for-tab-command | |
) | |
(add-hook 'rst-mode-hook #'jfbu/rst-mode-hook t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment