Skip to content

Commit

Permalink
emacs: overall update
Browse files Browse the repository at this point in the history
  • Loading branch information
niclas committed Feb 23, 2024
1 parent 97304a8 commit da19a0e
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
;;; Package Management
(require 'package)

(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/") t)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)

(package-initialize)
(unless package-archive-contents
Expand All @@ -20,14 +20,18 @@
:custom
(org-bullets-bullet-list '("" "" "" "" "" "" "")))

;;; C
;; C
(setq c-default-style "linux")

;;; Go
;; Go
(use-package go-mode
:mode "\\.go\\'")

;;; Zig
;; Lua
(use-package lua-mode
:mode "\\.lua\\'")

;; Zig
(use-package zig-mode
:mode "\\.zig\\'")

Expand All @@ -50,15 +54,15 @@

;;; General Appearence
(use-package busybee-theme
:init (load-theme 'busybee t))
:init (load-theme 'quasi-monochrome t))

(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)

(set-face-attribute 'default nil
:family "Fira Code Retina"
:height 180)
:family "Input Mono Narrow"
:height 200)

(setq inhibit-startup-screen t)

Expand Down

0 comments on commit da19a0e

Please sign in to comment.