Welcome in 2026 adding lot of features
This commit is contained in:
parent
afd61b5209
commit
ea3345a03e
211 changed files with 58 additions and 80682 deletions
38
init.el
38
init.el
|
|
@ -3,16 +3,43 @@
|
|||
;;
|
||||
;; Made by Némunaire <nemunaire@nemunai.re>
|
||||
|
||||
(require 'site-gentoo)
|
||||
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives
|
||||
'("MELPA Stable" . "http://stable.melpa.org/packages/") t)
|
||||
'("MELPA Stable" . "https://stable.melpa.org/packages/") t)
|
||||
|
||||
;; Added by Package.el. This must come before configurations of
|
||||
;; installed packages. Don't delete this line. If you don't want it,
|
||||
;; just comment it out by adding a semicolon to the start of the line.
|
||||
;; You may delete these explanatory comments.
|
||||
|
||||
;; Initialize package system but don't activate packages yet
|
||||
(setq package-enable-at-startup nil)
|
||||
(package-initialize)
|
||||
|
||||
;; Register system-installed vterm in package-alist
|
||||
;; (site-gentoo only adds to load-path, not package-alist)
|
||||
(unless (assq 'vterm package-alist)
|
||||
(let ((desc (package-desc-create
|
||||
:name 'vterm
|
||||
:version '(0 0 2)
|
||||
:summary "Emulation of a terminal"
|
||||
:reqs '((emacs (25 1)))
|
||||
:kind 'dir
|
||||
:dir "/usr/share/emacs/site-lisp/vterm")))
|
||||
(push (cons 'vterm (list desc)) package-alist)))
|
||||
|
||||
;; Now activate all packages (including claude-code which will find vterm)
|
||||
(package-activate-all)
|
||||
|
||||
;; Bootstrap use-package
|
||||
(unless (package-installed-p 'use-package)
|
||||
(package-refresh-contents)
|
||||
(package-install 'use-package))
|
||||
(require 'use-package)
|
||||
(setq use-package-always-ensure t)
|
||||
|
||||
(setq flymake-allowed-file-name-masks nil)
|
||||
|
||||
(defun may-load (path)
|
||||
|
|
@ -56,8 +83,8 @@
|
|||
(require 'my-python-mode)
|
||||
|
||||
;; load my configuration files
|
||||
(toc:load-config-file '("key-binding"
|
||||
;; "project"
|
||||
(toc:load-config-file '("packages" ; Modern package management (load first)
|
||||
"key-binding"
|
||||
"editing"
|
||||
"coding-style"
|
||||
"tags"
|
||||
|
|
@ -67,3 +94,8 @@
|
|||
"custom"
|
||||
"perso"
|
||||
))
|
||||
(custom-set-variables
|
||||
'(package-selected-packages nil)
|
||||
'(python-indent 4)
|
||||
'(query-user-mail-address nil)
|
||||
'(user-mail-address "nemunaire@nemunai.re"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue