nixos/config/emacs/init.el

34 lines
712 B
EmacsLisp
Raw Normal View History

2023-09-04 13:36:15 +04:00
(setq inhibit-startup-message t)
(scroll-bar-mode -1)
(tool-bar-mode -1)
(tooltip-mode -1)
(set-fringe-mode 10)
(menu-bar-mode -1)
;; bell
(setq visible-bell t)
2023-09-04 13:43:15 +04:00
;; font
2023-09-04 13:54:56 +04:00
(set-face-attribute `default nil :font "JetBrains Mono" :height 150)
(load-theme 'tango-dark)
2023-09-04 17:05:22 +04:00
;; packages
(require `package)
(setq package-archives `(("mepla" . "https://melpa.org/packages/")
("org" . "https://orgemode.org/elpa/")
("elpa" . "https://elpa.gnu.org/packages/")))
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
;; Init package for non-linux
(unless (package-installed-p `use-package)
(package-install `use-package))
(require 'use-package)
(setq use-package-always-ensure t)