diff options
Diffstat (limited to '.config/.emacs')
| -rw-r--r-- | .config/.emacs | 25 |
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. ) |
