Compare commits
144 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b8adef76fb | |||
| 53aa91408c | |||
| 06208d5491 | |||
| 423acecb38 | |||
| 706b396e1c | |||
| b79d782623 | |||
| 8ba598127b | |||
| 4aeb92eb6f | |||
| c3a188defe | |||
| 0c18e02686 | |||
| 6a57cbfd1f | |||
| 015ed00b0f | |||
| 980ce6750b | |||
| 28b6168110 | |||
| c809f480bd | |||
| 3591e5704e | |||
| e6e5b5e461 | |||
| a79987f30f | |||
| 3f93a19d4b | |||
| 80b3e4dbc1 | |||
| 377a5cadff | |||
| adab1147e0 | |||
| 7f901b23ae | |||
| a731bab651 | |||
| 2572e8c221 | |||
| 6c24da4503 | |||
| f2dc1fe496 | |||
| 49a5164f45 | |||
| 22c029b2f4 | |||
| ff740ce08e | |||
| 1a21781fba | |||
| d3dc9465dd | |||
| f5ef8d68c5 | |||
| 0b57fa79b5 | |||
| c47c5a5185 | |||
| 17e062e07f | |||
| ede533e792 | |||
| 3853d9d247 | |||
| c8fa26b07b | |||
| 7252361ab1 | |||
| 275d07b961 | |||
| e692a9de93 | |||
| 28dae3bfeb | |||
| cea6f3f2c0 | |||
| 0e722c06b5 | |||
| 34e4462f1b | |||
| 2023ec08b3 | |||
| 7285b8750e | |||
| ad0adbc726 | |||
| 75bda91171 | |||
| a68f566cd9 | |||
| a5efd66ec7 | |||
| 40d9146a45 | |||
| d0657174dc | |||
| 3ad176fbf9 | |||
| 6aaae92c53 | |||
| 934c375c34 | |||
| 1521fcb13e | |||
| 21fbc47a8f | |||
| 1a99cb8ccb | |||
| ce1c827f4c | |||
| 62148f96ca | |||
| 8b1d672215 | |||
| e837ce7551 | |||
| f82e59591e | |||
| 83dc765086 | |||
| 1022956e46 | |||
| 32ddb062c0 | |||
| bbffcd8d2b | |||
| 6127374888 | |||
| 8a5527c2d4 | |||
| c5cebd2147 | |||
| 5ca1559c20 | |||
| 3c24cac0c1 | |||
|
|
b0b017251c | ||
| 7c39432564 | |||
| 29f8a2b08b | |||
| ddc622f270 | |||
| cb018ca96b | |||
| caf08093dd | |||
| 4233409d50 | |||
| 55e765911e | |||
| d3f6a04e9b | |||
| c31bd5ab5b | |||
| edee35724e | |||
| f2cfe8035c | |||
| 954196d061 | |||
| d5f79bf639 | |||
| 78afc078ff | |||
| 5ef08b39b6 | |||
| 584a0b1b7c | |||
| 5395706577 | |||
| 2be3a79aed | |||
| f6c14e7caa | |||
| d757ce44a8 | |||
| 122f1f5186 | |||
| e02a1990aa | |||
| 074c5fe0b1 | |||
| 1b6619a978 | |||
| 6e52096e2d | |||
| 012e960510 | |||
| 6f306b4ea5 | |||
| 091b5fbda2 | |||
| 31da5498b6 | |||
| 752734c381 | |||
| 1449ae0e5f | |||
| f1eed76f1b | |||
| cdcd577939 | |||
| 69010af86e | |||
| c748fb94c4 | |||
| 8b3f426ae1 | |||
| 8732e36160 | |||
| ee7073ea67 | |||
| 0482e48c7f | |||
| 2c29e77132 | |||
| f121ec0330 | |||
| 9d84faf97a | |||
| f44190a45d | |||
| 1475b4acb8 | |||
| 832bc40d81 | |||
| 12b33b1f49 | |||
| 53dd2a9084 | |||
| 43c75a29e2 | |||
| 1549038f73 | |||
| 49e26e5568 | |||
| 6e1ed0ebb6 | |||
| 17515a8377 | |||
| 393bace7cf | |||
| 35102de7f5 | |||
| df5d034907 | |||
| 22a827592d | |||
| 801188ed90 | |||
| 7329b044f3 | |||
| 9541cfbf44 | |||
| b8ef2937f3 | |||
| a6c81d05ba | |||
| 00d40a2d5a | |||
| bd3f737477 | |||
| db266f3ece | |||
| d184007b9b | |||
| 3bf48f5927 | |||
| ef04adcfd9 | |||
| 0db6d1753e | |||
| 0f9db243ad |
15 changed files with 2702 additions and 1360 deletions
26
.gitignore
vendored
Normal file
26
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
custom.el
|
||||||
|
backups
|
||||||
|
eshell
|
||||||
|
elpaca
|
||||||
|
|
||||||
|
eln-cache
|
||||||
|
elpa
|
||||||
|
org-roam.db
|
||||||
|
transient
|
||||||
|
|
||||||
|
# projectile
|
||||||
|
projectile*
|
||||||
|
|
||||||
|
# savehist file
|
||||||
|
history
|
||||||
|
|
||||||
|
# recentf file
|
||||||
|
recentf
|
||||||
|
|
||||||
|
session*
|
||||||
|
|
||||||
|
# .org converted files
|
||||||
|
config*.el
|
||||||
|
|
||||||
|
# Tramp connection file
|
||||||
|
tramp
|
||||||
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
[submodule "extra/sunrise-commander"]
|
|
||||||
path = extra/sunrise-commander
|
|
||||||
url = https://github.com/escherdragon/sunrise-commander
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
C-M-Space : smartparens wrapping
|
|
||||||
C-c C-c : calculator (see init.el)
|
|
||||||
C-h k <key-sequence>: lookup key sequence
|
|
||||||
C-x 0 : close current window
|
|
||||||
C-q <tab> : insert a <tab>
|
|
||||||
M-x (un)tabify : (replace) tabs
|
|
||||||
M-x describe-bindings : list of all mapped keys/commands
|
|
||||||
M-p : fill-paragraph, works for doxygen as well
|
|
||||||
2388
config.org
2388
config.org
File diff suppressed because it is too large
Load diff
1608
config_old.org
Normal file
1608
config_old.org
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1 +1,18 @@
|
||||||
|
;;; early-init.el --- Early Init -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
;; Early init configuration for Emacs Solo
|
||||||
|
;;
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
|
||||||
|
;; Only care about errors in *Messages* buffer
|
||||||
|
(setq warning-minimum-level :error)
|
||||||
|
|
||||||
|
;; We control when packages are enabled
|
||||||
(setq package-enable-at-startup nil)
|
(setq package-enable-at-startup nil)
|
||||||
|
|
||||||
|
(provide 'early-init)
|
||||||
|
|
||||||
|
;;; early-init.el ends here
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit cf8305a149a321d028858057e7a7c92f0038a06a
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 64 KiB |
25
init.el
25
init.el
|
|
@ -1,17 +1,28 @@
|
||||||
|
;;; init.el --- Init -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
;;; Load init files
|
||||||
|
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
;;; Increase garbage collection threshold during init but leave it to the default value after
|
;;; Increase garbage collection threshold during init but leave it to the default value after
|
||||||
;;; There are a LOT of articles/sites/... discussing this:
|
;;; There are a LOT of articles/sites/... discussing this:
|
||||||
;;; https://bling.github.io/blog/2016/01/18/why-are-you-changing-gc-cons-threshold/
|
;;; https://bling.github.io/blog/2016/01/18/why-are-you-changing-gc-cons-threshold/
|
||||||
;;; https://jonnay.github.io/emagicians-starter-kit/Emagician-Base.html
|
;;; https://jonnay.github.io/emagicians-starter-kit/Emagician-Base.html
|
||||||
;;; ...
|
;;; ...
|
||||||
(let ((gc-cons-threshold most-positive-fixnum))
|
(let ((gc-cons-threshold most-positive-fixnum))
|
||||||
|
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
|
||||||
;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch.
|
;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch.
|
||||||
(defvar config-file (expand-file-name "config.org" user-emacs-directory))
|
(defvar my-config-file (expand-file-name "config.org" user-emacs-directory))
|
||||||
(defvar project-file (expand-file-name "project.org" user-emacs-directory))
|
|
||||||
|
|
||||||
(when (file-readable-p config-file)
|
(when (file-readable-p my-config-file)
|
||||||
(org-babel-load-file (expand-file-name config-file)))
|
(org-babel-load-file (expand-file-name my-config-file)))
|
||||||
|
|
||||||
;; If it exists, load some project-specific configurations.
|
(load custom-file :no-error-if-file-is-missing)
|
||||||
(when (file-readable-p project-file)
|
|
||||||
(org-babel-load-file (expand-file-name project-file)))
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(provide 'init)
|
||||||
|
|
||||||
|
;;; init.el ends here
|
||||||
|
|
|
||||||
6
snippets/c-mode/define
Normal file
6
snippets/c-mode/define
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: Make a define
|
||||||
|
# key: def
|
||||||
|
# --
|
||||||
|
|
||||||
|
#define ${1:mydefine$(upcase yas-text)} $2
|
||||||
6
snippets/c-mode/kaboom
Normal file
6
snippets/c-mode/kaboom
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: kaboom
|
||||||
|
# key: kb
|
||||||
|
# --
|
||||||
|
|
||||||
|
char (*__kaboom)[sizeof($1)] = 1;
|
||||||
8
snippets/org-mode/emacs-lisp-source-block
Normal file
8
snippets/org-mode/emacs-lisp-source-block
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: Start emacs source block
|
||||||
|
# key: se
|
||||||
|
# --
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
${1}
|
||||||
|
#+END_SRC
|
||||||
6
snippets/org-mode/filetags
Normal file
6
snippets/org-mode/filetags
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: Filetags
|
||||||
|
# key: ft
|
||||||
|
# --
|
||||||
|
|
||||||
|
#+FILETAGS: :$1:
|
||||||
8
snippets/org-mode/source_block_emacs
Normal file
8
snippets/org-mode/source_block_emacs
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: Org source code block
|
||||||
|
# key: s
|
||||||
|
# --
|
||||||
|
|
||||||
|
#+BEGIN_SRC
|
||||||
|
${1}
|
||||||
|
#+END_SRC
|
||||||
10
snippets/text-mode/git-commit-message-before-after
Normal file
10
snippets/text-mode/git-commit-message-before-after
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: Git commit message template
|
||||||
|
# key: bac
|
||||||
|
# --
|
||||||
|
|
||||||
|
Before this commit,
|
||||||
|
${1}
|
||||||
|
|
||||||
|
After this commit,
|
||||||
|
${2}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue