60 lines
2.0 KiB
EmacsLisp
60 lines
2.0 KiB
EmacsLisp
;; Install straight.el
|
|
(defvar native-comp-deferred-compilation-deny-list '[])
|
|
(defvar bootstrap-version)
|
|
(let ((bootstrap-file
|
|
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
|
|
(bootstrap-version 5))
|
|
(unless (file-exists-p bootstrap-file)
|
|
(with-current-buffer
|
|
(url-retrieve-synchronously
|
|
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
|
|
'silent 'inhibit-cookies)
|
|
(goto-char (point-max))
|
|
(eval-print-last-sexp)))
|
|
(load bootstrap-file nil 'nomessage))
|
|
|
|
;; Install use-package
|
|
(straight-use-package 'use-package)
|
|
|
|
;; Configure use-package to use straight.el by default
|
|
(use-package straight
|
|
:custom (straight-use-package-by-default t))
|
|
|
|
(use-package org
|
|
:ensure t)
|
|
(require 'org)
|
|
(org-babel-load-file
|
|
(expand-file-name "settings.org"
|
|
user-emacs-directory))
|
|
|
|
(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.
|
|
'(auth-source-save-behavior nil)
|
|
'(elcord-idle-message "Idling...")
|
|
'(elcord-idle-timer 120)
|
|
'(elcord-refresh-rate 3)
|
|
'(lsp-pyls-plugins-flake8-ignore '("E501"))
|
|
'(lsp-pyls-plugins-pycodestyle-ignore '("E501"))
|
|
'(lsp-pyls-plugins-pydocstyle-enabled nil)
|
|
'(lsp-pylsp-plugins-flake8-ignore ["E501"])
|
|
'(lsp-pylsp-plugins-pydocstyle-enabled nil)
|
|
'(lsp-pylsp-plugins-pylint-enabled t)
|
|
'(mouse-autoselect-window t)
|
|
'(package-selected-packages
|
|
'(kotlin-mode magit counsel doom-modeline doom-themes use-package))
|
|
'(tab-width 2)
|
|
'(vterm-eval-cmds
|
|
'(("find-file" find-file)
|
|
("message" message)
|
|
("vterm-clear-scrollback" vterm-clear-scrollback)
|
|
("find-file-other-window" find-file-other-window))))
|
|
(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.
|
|
)
|