save changes before bancrupcy

This commit is contained in:
Grisha Shipunov 2025-06-07 16:08:33 +02:00
parent 98e5f06f7d
commit 23a4d80ace
3 changed files with 56 additions and 2 deletions

18
init.el
View file

@ -15,12 +15,13 @@
(require 'oxa/org)
(require 'oxa/latex)
(require 'oxa/mail)
;;; theme
(setq modus-themes-italic-constructs t
modus-themes-bold-constructs t)
(load-theme 'modus-operandi)
(global-display-line-numbers-mode)
(setq-default indicate-empty-lines t)
(setq-default show-trailing-whitespace t)
(add-hook 'prog-mode-hook #'(lambda () (whitespace-mode t)))
@ -142,7 +143,7 @@
(setq c-default-style '((java-mode . "java")
(awk-mode . "awk")
(c-mode . "llvm.org")
(c-mode . "linux")
(c++-mode . "llvm.org")
(other . "stroustrup")))
@ -158,8 +159,21 @@
;; nya-nya-nya-nya-nya-nya
(straight-use-package 'nyan-mode)
(require 'nyan-mode)
(setq nyan-animate-nyancat t
nyan-wavy-trail t)
(nyan-mode 1)
;; ess
(straight-use-package 'ess)
;; faster window switch
(global-set-key (kbd "C-;") #'other-window)
(straight-use-package 'dired-sidebar)
(setq dired-sidebar-theme 'ascii)
(define-key 'oxamap (kbd "t") 'dired-sidebar-toggle-sidebar)
;; I use custom vars for local config, so let's put them to separate
;; file, where it's easier for git to ignore it
(setq custom-file "~/.emacs.d/custom.el")