summaryrefslogtreecommitdiff
path: root/.config/.emacs
diff options
context:
space:
mode:
authorpryazha <pryadeiniv@mail.ru>2025-10-12 15:22:37 +0500
committerpryazha <pryadeiniv@mail.ru>2025-10-12 15:22:37 +0500
commitea0c73a9bad27262518d08139f312fc750c7167a (patch)
tree488f35259152d3874efb266523f4941831134dd7 /.config/.emacs
parent2789e7aef1a2b44188b35d90c9ea87d594877d77 (diff)
using xterm with Xresources now, also trying to immplement mklinks
Diffstat (limited to '.config/.emacs')
-rw-r--r--.config/.emacs25
1 files changed, 18 insertions, 7 deletions
diff --git a/.config/.emacs b/.config/.emacs
index 9e9164c..407eb53 100644
--- a/.config/.emacs
+++ b/.config/.emacs
@@ -5,8 +5,13 @@
;; functional
(set-default 'ring-bell-function 'ignore)
-(setq c-basic-offset 8)
-(setq indent-line-function 'insert-tab)
+;; (setq c-basic-offset 8)
+;; (setq indent-line-function 'insert-tab)
+
+(defun hook-c ()
+ (setq c-set-style "k&r")
+ (setq indent-tabs-mode nil))
+(add-hook 'c-mode-common-hook 'hook-c)
;; keybinds
(keymap-global-set "C-c c" 'compile)
@@ -14,11 +19,17 @@
;; visual
(setq inhibit-startup-screen t)
(set-default 'truncate-lines t)
-(add-to-list 'default-frame-alist '(font . "FantasqueSansM Nerd Font-16"))
-(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
-(load-theme 'kanagawa t)
-
+(add-to-list 'default-frame-alist '(font . "Iosevka-16"))
+(load-theme 'wombat t)
(custom-set-variables
- '(package-selected-packages '(autothemer)))
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(package-selected-packages '(rfc-mode)))
(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
)