Update init.el
This commit is contained in:
parent
a3256f7ac0
commit
45957b6563
1 changed files with 11 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
;;; package --- Rawley Fowler's OpenBSD init.el
|
;;; package --- Rawley OpenBSD init.el
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; This is my Emacs init.el for OpenBSD. OpenBSD has always been
|
;;; This is my Emacs init.el for OpenBSD. OpenBSD has always been
|
||||||
;;; one of my favorite opeating systems, but I have never had hardware
|
;;; one of my favorite opeating systems, but I have never had hardware
|
||||||
|
@ -7,7 +7,8 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(add-to-list 'default-frame-alist '(font . "Spleen-10"))
|
(add-to-list 'default-frame-alist '(font . "Spleen-10"))
|
||||||
|
|
||||||
(setq visible-bell nil)
|
(setq visible-bell t)
|
||||||
|
(setq-default tab-width 4)
|
||||||
|
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
|
@ -38,10 +39,15 @@
|
||||||
:config
|
:config
|
||||||
(modus-themes-load-vivendi))
|
(modus-themes-load-vivendi))
|
||||||
|
|
||||||
|
;; Language modes
|
||||||
(use-package d-mode)
|
(use-package d-mode)
|
||||||
(use-package go-mode)
|
(use-package go-mode)
|
||||||
|
(use-package markdown-mode)
|
||||||
|
|
||||||
(defun save-and-kill-this-buffer ()
|
;; Other packages
|
||||||
|
(use-package ivy)
|
||||||
|
|
||||||
|
(defun save-and-kill-current-buffer ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(save-buffer)
|
(save-buffer)
|
||||||
(kill-current-buffer))
|
(kill-current-buffer))
|
||||||
|
@ -51,7 +57,7 @@
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(package-selected-packages '(modus-themes use-package)))
|
'(package-selected-packages '(md-mode markdown-mode ivy modus-themes use-package)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|
Loading…
Reference in a new issue