Skip to content

Instantly share code, notes, and snippets.

@veer66
Created July 13, 2022 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veer66/c0f5af07b51205bae6bbe7abfdd623a1 to your computer and use it in GitHub Desktop.
Save veer66/c0f5af07b51205bae6bbe7abfdd623a1 to your computer and use it in GitHub Desktop.
(require 'package)
(setq package-archives '(("elpa" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
(package-initialize)
(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.
'(column-number-mode t)
'(current-language-environment "UTF-8")
'(custom-enabled-themes '(modus-vivendi))
'(default-input-method "thai-kesmanee")
'(delete-selection-mode nil)
'(display-battery-mode t)
'(menu-bar-mode nil)
'(package-selected-packages
'(vterm json-reformat eglot lsp-mode rustic restclient go-mode crystal-mode julia-repl julia-mode cider dockerfile-mode docker golden-ratio paredit minimap sly company magit))
'(tool-bar-mode nil)
'(tooltip-mode nil))
(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 "ADBO" :slant normal :weight semi-bold :height 143 :width normal)))))
(add-hook 'lisp-mode-hook 'global-company-mode)
(add-hook 'lisp-mode-hook 'enable-paredit-mode)
(setq inferior-lisp-program "/usr/bin/sbcl --dynamic-space-size 12000")
(setq column-number-mode t)
(add-to-list 'load-path "/home/vee/pkg/julia-1.7.2/bin/julia")
(require 'julia-repl)
(add-hook 'julia-mode-hook 'julia-repl-mode)
(set-language-environment "UTF-8")
(setq rustic-analyzer-command '("~/.local/bin/rust-analyzer"))
(setq rustic-lsp-client 'eglot)
(add-hook 'rustic-mode-hook 'global-company-mode)
(savehist-mode 1)
(setq inferior-lisp-program "/usr/bin/sbcl")
(set-language-environment "utf-8")
(defun kill-all-sly-buffers ()
(interactive)
(cl-loop for buffer in (buffer-list)
when (string-match-p "sly" (buffer-name buffer))
do (kill-buffer buffer)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment