From 447890a7ea96da048fa720d313b32860c995e8bb Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Thu, 19 Dec 2019 14:30:16 +0100 Subject: Many changes... --- .emacs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.emacs') diff --git a/.emacs b/.emacs index 594c445..0b5d15e 100644 --- a/.emacs +++ b/.emacs @@ -55,6 +55,7 @@ (set-keyboard-coding-system 'utf-8) (put 'downcase-region 'disabled nil) +(kill-buffer "*scratch*") ;; Programming section @@ -93,6 +94,15 @@ (require 'yaml-mode) (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) +;; Python +(require 'whitespace) +(add-hook 'python-mode-hook + (lambda () + (progn + (setq whitespace-line-column 80) + (setq whitespace-style '(face empty tabs lines-tail trailing)) + (whitespace-mode)))) + ;; yasnippet (require 'yasnippet) (yas-global-mode 1) -- cgit v1.3