Compare commits
No commits in common. "master" and "v2.0" have entirely different histories.
15 changed files with 1351 additions and 2693 deletions
26
.gitignore
vendored
26
.gitignore
vendored
|
|
@ -1,26 +0,0 @@
|
||||||
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
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "extra/sunrise-commander"]
|
||||||
|
path = extra/sunrise-commander
|
||||||
|
url = https://github.com/escherdragon/sunrise-commander
|
||||||
8
cheat-sheet.txt
Normal file
8
cheat-sheet.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
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
|
||||||
2312
config.org
2312
config.org
File diff suppressed because it is too large
Load diff
1608
config_old.org
1608
config_old.org
File diff suppressed because it is too large
Load diff
|
|
@ -1,18 +1 @@
|
||||||
;;; 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
extra/sunrise-commander
Submodule
1
extra/sunrise-commander
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit cf8305a149a321d028858057e7a7c92f0038a06a
|
||||||
BIN
img/dash_logo.png
Normal file
BIN
img/dash_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
25
init.el
25
init.el
|
|
@ -1,28 +1,17 @@
|
||||||
;;; 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 my-config-file (expand-file-name "config.org" user-emacs-directory))
|
(defvar 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 my-config-file)
|
(when (file-readable-p config-file)
|
||||||
(org-babel-load-file (expand-file-name my-config-file)))
|
(org-babel-load-file (expand-file-name config-file)))
|
||||||
|
|
||||||
(load custom-file :no-error-if-file-is-missing)
|
;; If it exists, load some project-specific configurations.
|
||||||
|
(when (file-readable-p project-file)
|
||||||
|
(org-babel-load-file (expand-file-name project-file)))
|
||||||
)
|
)
|
||||||
|
|
||||||
(provide 'init)
|
|
||||||
|
|
||||||
;;; init.el ends here
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# -*- mode: snippet -*-
|
|
||||||
# name: Make a define
|
|
||||||
# key: def
|
|
||||||
# --
|
|
||||||
|
|
||||||
#define ${1:mydefine$(upcase yas-text)} $2
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# -*- mode: snippet -*-
|
|
||||||
# name: kaboom
|
|
||||||
# key: kb
|
|
||||||
# --
|
|
||||||
|
|
||||||
char (*__kaboom)[sizeof($1)] = 1;
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
# -*- mode: snippet -*-
|
|
||||||
# name: Start emacs source block
|
|
||||||
# key: se
|
|
||||||
# --
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
${1}
|
|
||||||
#+END_SRC
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# -*- mode: snippet -*-
|
|
||||||
# name: Filetags
|
|
||||||
# key: ft
|
|
||||||
# --
|
|
||||||
|
|
||||||
#+FILETAGS: :$1:
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
# -*- mode: snippet -*-
|
|
||||||
# name: Org source code block
|
|
||||||
# key: s
|
|
||||||
# --
|
|
||||||
|
|
||||||
#+BEGIN_SRC
|
|
||||||
${1}
|
|
||||||
#+END_SRC
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
# -*- 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