Skip to content

Instantly share code, notes, and snippets.

@Lajule
Last active August 18, 2022 21:37
Show Gist options
  • Save Lajule/f4ff07103413a0bf536e3f42167c2beb to your computer and use it in GitHub Desktop.
Save Lajule/f4ff07103413a0bf536e3f42167c2beb to your computer and use it in GitHub Desktop.
Emacs configuration
;;; package --- Summary
;;; Commentary:
;;; Code:
(defvar gnutls-algorithm-priority)
(setq inhibit-splash-screen t
visible-bell nil
ring-bell-function 'ignore
gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(setq-default frame-title-format '(buffer-file-name "%f" "%b")
truncate-lines t
show-trailing-whitespace t)
(blink-cursor-mode -1)
(column-number-mode 1)
(delete-selection-mode 1)
(global-display-line-numbers-mode 1)
(line-number-mode 1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(show-paren-mode 1)
(tool-bar-mode -1)
(xterm-mouse-mode 1)
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(custom-set-variables
'(custom-safe-themes nil)
'(package-selected-packages
(quote
(lua-mode restclient dockerfile-mode go-mode yaml-mode magit flycheck material-theme))))
;;(custom-set-faces
;;'(compilation-info ((t (:inherit success :foreground "#558b2f")))))
;;(load-theme 'material-light t)
(load-theme 'material t)
(global-flycheck-mode)
;;; init.el ends here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment