Skip to content

Instantly share code, notes, and snippets.

@harsha5500
Created September 28, 2025 10:43
Show Gist options
  • Select an option

  • Save harsha5500/391b356ee1ae60f62e243e857a166062 to your computer and use it in GitHub Desktop.

Select an option

Save harsha5500/391b356ee1ae60f62e243e857a166062 to your computer and use it in GitHub Desktop.
emacs configuration
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
(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-safe-themes
'("8dbbcb2b7ea7e7466ef575b60a92078359ac260c91fe908685b3983ab8e20e3f"
"4acfb4e3d5e86206c4c3a834f4a9356beb25dc04c48e4e364006eff5625606ab"
default))
'(package-selected-packages
'(async auto-complete bash-completion bibtex-completion bibtex-utils
dash dashboard desktop+ dockerfile-mode dracula-theme epl f
flycheck flycheck-pos-tip git-modes ht jedi json-mode
json-reformat latex-extra latex-preview-pane
latex-unicode-math-mode markdown-mode mode-icons
monokai-theme neotree pdf-tools popup popwin powerline
py-autopep8 python-mode rainbow-delimiters smart-mode-line
spaceline switch-window treemacs typescript-mode
web-beautify yaml yaml-mode)))
(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.
'(default ((t (:family "Source Code Pro" :foundry "nil" :slant normal :weight regular :height 120 :width normal)))))
(load-theme 'monokai)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment