Update init.el
This commit is contained in:
parent
220ac19749
commit
3c8f4a3241
1 changed files with 9 additions and 7 deletions
|
@ -5,8 +5,9 @@
|
||||||
;;; that can take advantage of it. Thankfully, I found a compatible
|
;;; that can take advantage of it. Thankfully, I found a compatible
|
||||||
;;; WiFi card for my Librebooted x200, now I can use OpenBSD \o/
|
;;; WiFi card for my Librebooted x200, now I can use OpenBSD \o/
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(add-to-list 'default-frame-alist '(font . "UbuntuMono Nerd Font-15"))
|
(add-to-list 'default-frame-alist '(font . "UbuntuMono Nerd Font Mono-15"))
|
||||||
|
|
||||||
|
(setq inhibit-startup-screen t)
|
||||||
(setq visible-bell nil)
|
(setq visible-bell nil)
|
||||||
(setq ring-bell-function 'ignore)
|
(setq ring-bell-function 'ignore)
|
||||||
(setq-default tab-width 4)
|
(setq-default tab-width 4)
|
||||||
|
@ -25,8 +26,8 @@
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
(unless (package-installed-p 'use-package)
|
(unless (package-installed-p 'use-package)
|
||||||
|
(package-refresh-contents)
|
||||||
(package-install 'use-package))
|
(package-install 'use-package))
|
||||||
(package-refresh-contents)
|
|
||||||
|
|
||||||
(eval-and-compile
|
(eval-and-compile
|
||||||
(setq use-package-always-ensure t
|
(setq use-package-always-ensure t
|
||||||
|
@ -36,6 +37,9 @@
|
||||||
(use-package zenburn-theme)
|
(use-package zenburn-theme)
|
||||||
(load-theme 'zenburn t)
|
(load-theme 'zenburn t)
|
||||||
|
|
||||||
|
(require 'ido)
|
||||||
|
(ido-mode t)
|
||||||
|
|
||||||
;; Language modes
|
;; Language modes
|
||||||
(use-package d-mode)
|
(use-package d-mode)
|
||||||
(use-package go-mode)
|
(use-package go-mode)
|
||||||
|
@ -43,9 +47,9 @@
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
;; Other packages
|
;; Other packages
|
||||||
(use-package ivy)
|
(use-package smex)
|
||||||
(use-package helm)
|
(require 'smex)
|
||||||
(require 'helm)
|
(global-set-key (kbd "M-x") 'smex)
|
||||||
|
|
||||||
;; Custom functions
|
;; Custom functions
|
||||||
(defun save-and-kill-current-buffer ()
|
(defun save-and-kill-current-buffer ()
|
||||||
|
@ -58,8 +62,6 @@
|
||||||
;; 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.
|
||||||
'(custom-safe-themes
|
|
||||||
'("70cfdd2e7beaf492d84dfd5f1955ca358afb0a279df6bd03240c2ce74a578e9e" default))
|
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(helm zenburn-theme md-mode markdown-mode ivy modus-themes use-package)))
|
'(helm zenburn-theme md-mode markdown-mode ivy modus-themes use-package)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
|
|
Loading…
Reference in a new issue