asdfjkl;asdfjk;lasdfj;klasfdk;lasdfl;asdfkjasdfjksadf;kljasdf;l

This commit is contained in:
Sakooooo 2024-12-04 21:53:50 +04:00
parent 29158d6d83
commit 03d1906f53
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 18 additions and 5 deletions

1
config/emacs/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
flycheck_init.el

View file

@ -1,11 +1,12 @@
;; -*- lexical-binding: t; -*- ;;; init.el --- Sako's terrible eMacs config -*- lexical-binding: t; -*-
;; Sako's terrible eMacs config! ;;; Commentary:
;; Lots of things missing but its whats needed ;; Lots of things missing but its whats needed
;; TODO(sako):: Setup mu4e ;; TODO(sako):: Setup mu4e
;; TODO(sako):: Setup irc (erc/rcirc) ;; TODO(sako):: Setup irc (erc/rcirc)
;; TODO(sako):: Setup elfeed ;; TODO(sako):: Setup elfeed
;; TODO(sako):: Setup elcord ;; TODO(sako):: Setup elcord
;;; Code:
;; --- Display Options --- ;; --- Display Options ---
(scroll-bar-mode -1) (scroll-bar-mode -1)
@ -19,12 +20,10 @@
(repeat-mode 1) (repeat-mode 1)
(column-number-mode) (column-number-mode)
(setq display-line-numbers 'relative)
(dolist (mode '(text-mode-hook (dolist (mode '(text-mode-hook
prog-mode-hook prog-mode-hook
conf-mode-hook)) conf-mode-hook))
(add-hook mode (lambda () (display-line-numbers-mode 1)))) (add-hook mode (lambda () (setq display-line-numbers 'relative) (display-line-numbers-mode 1))))
(set-face-attribute 'default nil (set-face-attribute 'default nil
:font "JetBrainsMono NF" :font "JetBrainsMono NF"
@ -77,6 +76,13 @@
;; --- no-littering --- ;; --- no-littering ---
(setq backup-directory-alist '(("." . "~/.emacs.d/backup"))
backup-by-copying t
version-control t
delete-old-versions t
kept-new-versions 20
kept-old-versions 5)
(use-package no-littering (use-package no-littering
:config :config
(setq custom-file (if (boundp 'server-socket-dir) (setq custom-file (if (boundp 'server-socket-dir)
@ -308,6 +314,10 @@
:ensure nil :ensure nil
:config (eglot-booster-mode))) :config (eglot-booster-mode)))
;;
;; --- Languages ---
;;
;; --- Org-Mode --- ;; --- Org-Mode ---
(use-package org (use-package org
:ensure t :ensure t
@ -357,3 +367,5 @@
(use-package org-pomodoro (use-package org-pomodoro
:ensure t) :ensure t)
;;; init.el ends here