summaryrefslogtreecommitdiffstats
path: root/myinit.org
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-10-27 17:34:50 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-10-27 17:34:50 +0100
commit077e6b9806f45d090c9ec021207549901fd815a4 (patch)
treead1b319f6456e15455913f28cb522c3ca0609040 /myinit.org
parentf0673b7cfebeadc5a2da27449ac10e324cdb643e (diff)
Some python stuff and some cleaning up
Including new font and colour scheme
Diffstat (limited to '')
-rw-r--r--myinit.org24
1 files changed, 19 insertions, 5 deletions
diff --git a/myinit.org b/myinit.org
index 5862d82..4b68c1d 100644
--- a/myinit.org
+++ b/myinit.org
@@ -319,10 +319,10 @@ This now is all about the agenda dispatcher - a critical piece of my configurato
(setq visible-bell t)
- (set-face-attribute 'default nil :font "Liberation Mono" :height 100)
+ (set-face-attribute 'default nil :font "Iosevka Regular" :height 130)
;;(set-face-attribute 'default nil :font "UbuntuMono Nerd Font Mono" :height 160)
- (load-theme 'tango-dark)
- ;;(load-theme 'gruvbox-dark-hard t)
+ ;;(load-theme 'tango-dark)
+ (load-theme 'gruvbox-dark-hard t)
;; calendar proper Monday start
(setq calendar-week-start-day 1)
@@ -392,8 +392,9 @@ This now is all about the agenda dispatcher - a critical piece of my configurato
(mapc 'kill-buffer (delq (current-buffer) (buffer-list))))
;; Windmove - use Shift and arrow keys to move in windows
- (when (fboundp 'windmove-default-keybindings)
- (windmove-default-keybindings))
+ ;; this fucks around with org mode - we want to shift timestamps and stuff
+ ;;(when (fboundp 'windmove-default-keybindings)
+ ;; (windmove-default-keybindings))
;; Winner mode - undo and redo changes in window config
;; with C-c left and C-c right
@@ -442,6 +443,19 @@ This now is all about the agenda dispatcher - a critical piece of my configurato
;; Stop C-z suspending emacs
(global-set-key (kbd "C-z") 'nil)
+ ;; elpy for python
+ (use-package elpy
+ :ensure t
+ :config
+ (setq elpy-modules (delq 'elpy-module-flymake elpy-modules))
+ (add-hook 'elpy-mode-hook 'flycheck-mode)
+ :init
+ (elpy-enable))
+
+ (when (load "flycheck" t t)
+ (setq elpy-modules (delq 'elpy-module-flymake elpy-modules))
+ (add-hook 'elpy-mode-hook 'flycheck-mode))
+
(use-package ivy
:diminish
:init