From ea0c73a9bad27262518d08139f312fc750c7167a Mon Sep 17 00:00:00 2001 From: pryazha Date: Sun, 12 Oct 2025 15:22:37 +0500 Subject: using xterm with Xresources now, also trying to immplement mklinks --- .config/.emacs | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to '.config/.emacs') 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. ) -- cgit v1.2.3-70-g09d2