diff options
Diffstat (limited to 'Emacs/.config/emacs')
| -rw-r--r-- | Emacs/.config/emacs/config.org | 18 | 
1 files changed, 18 insertions, 0 deletions
| diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 7c832f8..5f3c9d3 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1153,6 +1153,24 @@ Clang format for when:    (bind-key "C-c '" #'clang-format-region c-mode-map)    (bind-key "C-c '" #'clang-format-region c++-mode-map))  #+end_src +** Python +Setup for python, including a toggle option +#+begin_src emacs-lisp +(use-package python +  :straight nil +  :after eshell +  :commands +python/toggle-repl +  :general +  (leader +    "tp" #'+python/toggle-repl) +  :init +  (setq python-indent-offset 4) +  :config +  (defun +python/toggle-repl () +    "Create a repl for python" +    (interactive) +    (+dx/toggle-buffer "*Python*" #'run-python))) +#+END_SRC  ** HTML/CSS/JS  Firstly, web mode for consistent colouring of syntax.  #+begin_src emacs-lisp | 
