Skip to content

Instantly share code, notes, and snippets.

@rbento
Created November 8, 2023 06:53
Show Gist options
  • Select an option

  • Save rbento/3a77a326254c35d55fa521073105d2d9 to your computer and use it in GitHub Desktop.

Select an option

Save rbento/3a77a326254c35d55fa521073105d2d9 to your computer and use it in GitHub Desktop.

.emacs

; Configure MELPA package repository
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) 
(package-initialize)

; Add the bin folder to emacs path
(add-to-list 'exec-path "/usr/local/bin")

; This command specifies coding-system as the coding system to use for encoding terminal output from terminal. 
; If coding-system is nil, that means not to encode terminal output.
; See also: https://www.gnu.org/software/emacs/manual/html_node/elisp/Terminal-I_002fO-Encoding.html
(set-keyboard-coding-system nil)

; Set custom theme
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(custom-enabled-themes '(deeper-blue)))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment