From 99b6e4a83f4ccbcc9629d9bb7ae9411f57ce90a8 Mon Sep 17 00:00:00 2001 From: MatthewZMD Date: Sat, 18 May 2019 13:32:29 -0400 Subject: [PATCH] Use term-keys from elpa source --- .gitmodules | 3 - README.md | 326 +++++++++++++++++++++--------------------- elisp/init-custom.el | 2 +- elisp/init-package.el | 63 ++++---- elisp/init-shell.el | 1 - init.org | 12 +- site-elisp/term-keys | 1 - 7 files changed, 202 insertions(+), 206 deletions(-) delete mode 160000 site-elisp/term-keys diff --git a/.gitmodules b/.gitmodules index c6e971c9..e011a3e2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,6 +16,3 @@ [submodule "site-elisp/auto-save"] path = site-elisp/auto-save url = https://github.com/manateelazycat/auto-save.git -[submodule "site-elisp/term-keys"] - path = site-elisp/term-keys - url = https://github.com/CyberShadow/term-keys.git diff --git a/README.md b/README.md index 83742cc1..79bf922f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ - + # M-EMACS - + # About @@ -19,14 +19,14 @@ This configuration is designed and tested for **GNU Emacs 25.1 and above only**. ``` - + ## About README This README is originated from init.org that is generated using `M-x org-gfm-export-to-markdown`. Every block of code is generated through this function - it exports the section of code from the `elisp/` directory. You will not see their presence in init.org. - + ## Installation @@ -50,7 +50,7 @@ I will be updating M-EMACS from time to time, it is best to `git pull` once a wh Please also execute `git submodule update --recursive --remote` to sync with all the submodules. - + ## Modification @@ -66,14 +66,14 @@ You have the permission to use, modify, distribute in any way you want. However, 6. Call `M-x org-gfm-export-to-markdown` to update this README. - + ## Spotted a Bug? Suggestions? Please fill in Issues. - + ## Special Thanks @@ -86,94 +86,94 @@ Everyone starts somewhere, and I started here. # Table of Contents :TOC_2_ORG: -- [M-EMACS](#org4a95f22) -- [About](#orgbf554ff) - - [About README](#org90371e2) - - [Installation](#orgbcab4aa) - - [Modification](#org6203ead) - - [Spotted a Bug? Suggestions?](#org8f355a4) - - [Special Thanks](#org40416a7) -- [Startup](#org03c2829) - - [Lexical-binding](#org2af6735) - - [Disable Unnecessary Interface](#orga711645) - - [Optimization](#org629dedd) - - [Load-Path](#org6d6d2e9) - - [Define Constants](#org761c6a9) -- [Package Management](#org440c321) - - [Melpa Packages](#org1237099) - - [Non-Melpa Packages](#org650b0b7) - - [Configure Package Management](#org34c99b6) - - [Use-Package Wrapper](#orgd5fcb88) - - [Auto Package Update](#orgdb87596) -- [Global Functionalities](#orgdf7f7e0) - - [User Information](#orgcfc2ce0) - - [Bindings](#orge735535) - - [Directory and File Management](#org1a1964d) - - [Search](#orgb3373af) - - [Avy](#org18da75c) - - [Ivy](#org6ef112b) - - [Shell](#org9c1d191) - - [Winner](#orgb367aa2) - - [Which Key](#org82278bb) - - [Popup Kill Ring](#org9ff2060) - - [Undo Tree](#org85fd457) - - [Discover My Major](#org53dcc1e) - - [Ace Window](#org5acc906) - - [Configs](#orgb622a6a) - - [More Functions](#org1c08b5b) -- [User Interface Enhancements](#org1bdec80) - - [Title Bar](#org335ed2f) - - [All The Icons](#orga9c79d2) - - [Doom Theme](#org5ef3259) - - [Doom Modeline](#orgf1cf7dc) - - [Dashboard](#org22d8472) - - [Fonts](#org630b624) - - [Diminish](#orgf02a8aa) - - [Smooth Scroll](#orgbaee401) - - [Pretty Symbols](#orgbebee58) - - [UI Configs](#orgb8cb8e1) -- [General Programming](#org380ee55) - - [Magit](#org669b070) - - [Projectile](#org85c9e0c) - - [Treemacs](#org68475a2) - - [Company](#orgbf69d89) - - [YASnippet](#org2b0bd2c) - - [Flycheck](#org00fa929) - - [Dumb Jump](#org1ac57a2) - - [Line Numbers](#org60ab2a4) - - [Parenthesis](#org64468c1) - - [Indentation](#orga77286e) - - [Format All](#orgc7a3cc6) - - [Evil-Nerd-Commenter](#org21deee8) - - [Iedit](#orgb24f926) - - [Header](#org6692f3a) - - [Jupyter Notebook](#org566bd07) -- [Programming](#org6489d38) - - [Language Server Protocol](#orgd74294c) - - [Java](#orge8d9500) - - [C/C++](#orga4550f1) - - [Python](#orgffc24a2) - - [Arduino](#org558ebf8) -- [Web Development](#orge51bdb4) - - [Web Mode](#org49b72a0) - - [Emmet](#orgf57f020) - - [JavaScript/TypeScript](#orgcc66568) -- [Miscellaneous](#org7b3f2f0) - - [Org](#org4b740e3) - - [Emacs Web Wowser](#org02de462) - - [LeetCode](#orgc6b91e4) - - [Tetris](#org5cf9ace) - - [Speed Type](#orgb5f47d7) - - [2048 Game](#orgc5e0aca) - - [Zone](#org250137c) - - - +- [M-EMACS](#org80b1c20) +- [About](#org0a76005) + - [About README](#orgcb15fa5) + - [Installation](#org868f237) + - [Modification](#org5495286) + - [Spotted a Bug? Suggestions?](#org6784a4e) + - [Special Thanks](#org28ce7f8) +- [Startup](#orgaf30566) + - [Lexical-binding](#org415d3e8) + - [Disable Unnecessary Interface](#org95c943f) + - [Optimization](#orga4bdbb6) + - [Load-Path](#orgc6fa567) + - [Define Constants](#orgcd18698) +- [Package Management](#org6f0b867) + - [Melpa Packages](#orgd0f5c22) + - [Non-Melpa Packages](#org7832f1d) + - [Configure Package Management](#org013ff17) + - [Use-Package Wrapper](#orgc6f7131) + - [Auto Package Update](#org158e277) +- [Global Functionalities](#org7c832da) + - [User Information](#org998fea4) + - [Bindings](#org7a35580) + - [Directory and File Management](#org4b71f88) + - [Search](#orgbdae4be) + - [Avy](#orgfdae916) + - [Ivy](#org2946b96) + - [Shell](#org49cf841) + - [Winner](#org5faa88e) + - [Which Key](#org66b315d) + - [Popup Kill Ring](#orgd9992a4) + - [Undo Tree](#org8a3d232) + - [Discover My Major](#org52a6b8f) + - [Ace Window](#org279ffa0) + - [Configs](#orgac27323) + - [More Functions](#org11497bd) +- [User Interface Enhancements](#org16d5377) + - [Title Bar](#org230a8f3) + - [All The Icons](#org54eb9db) + - [Doom Theme](#orgede1189) + - [Doom Modeline](#org8df9396) + - [Dashboard](#org43dfcc9) + - [Fonts](#org90b3c6c) + - [Diminish](#org6de4ad6) + - [Smooth Scroll](#org1d5b75f) + - [Pretty Symbols](#org4e2664b) + - [UI Configs](#orge044c28) +- [General Programming](#org0f301be) + - [Magit](#org8c35e19) + - [Projectile](#org7de0b5f) + - [Treemacs](#org0acf9a1) + - [Company](#orgd6d7fe2) + - [YASnippet](#org1569ead) + - [Flycheck](#org85ae69b) + - [Dumb Jump](#org05c64c1) + - [Line Numbers](#orgc905fe4) + - [Parenthesis](#org633fc8f) + - [Indentation](#org37d3acc) + - [Format All](#org5c259aa) + - [Evil-Nerd-Commenter](#org4a5d79a) + - [Iedit](#org2565850) + - [Header](#org0b32570) + - [Jupyter Notebook](#orga44ae97) +- [Programming](#orgdf94a3c) + - [Language Server Protocol](#org988c75c) + - [Java](#org9997d5d) + - [C/C++](#org7ff8cfe) + - [Python](#org623480a) + - [Arduino](#org7d812a4) +- [Web Development](#orgcb4a662) + - [Web Mode](#orgc159430) + - [Emmet](#org44bea94) + - [JavaScript/TypeScript](#orgdfc97ea) +- [Miscellaneous](#org5c346f9) + - [Org](#org8c3b52c) + - [Emacs Web Wowser](#org9de2e69) + - [LeetCode](#orge0954a7) + - [Tetris](#org3a24a1c) + - [Speed Type](#org0a080fa) + - [2048 Game](#orgb834fe9) + - [Zone](#org15b95a9) + + + # Startup - + ## Lexical-binding @@ -186,7 +186,7 @@ Use lexical-binding. [Why?](https://nullprogram.com/blog/2016/12/22/) ``` - + ## Disable Unnecessary Interface @@ -200,7 +200,7 @@ This need to be in the beginning of initialization to smooth the experience. ``` - + ## Optimization @@ -232,7 +232,7 @@ Unset file name handler alist. ``` - + ## Load-Path @@ -254,7 +254,7 @@ Since all the configuration files are stored in `elisp/` folder, they need to be ``` - + ## Define Constants @@ -276,14 +276,14 @@ Since all the configuration files are stored in `elisp/` folder, they need to be ``` - + # Package Management Some packages are turned off because I don't use them very often. Please verify them in `init.el`. - + ## Melpa Packages @@ -295,6 +295,7 @@ Some packages are turned off because I don't use them very often. Please verify ("gnu" . "http://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("melpa stable" . "http://stable.melpa.org/packages/") + ("cselpa" . "https://elpa.thecybershadow.net/packages/") ;;("org" . "http://orgmode.org/elpa/") )) ``` @@ -302,7 +303,7 @@ Some packages are turned off because I don't use them very often. Please verify Load all Melpa packages in `elisp/` to `load-path` directly to reduce startup time. - + ## Non-Melpa Packages @@ -327,7 +328,7 @@ git submodule update ``` - + ## Configure Package Management @@ -347,7 +348,7 @@ git submodule update ``` - + ## Use-Package Wrapper @@ -401,7 +402,7 @@ The `use-package` wrapper. ``` - + ## Auto Package Update @@ -418,12 +419,12 @@ The `use-package` wrapper. ``` - + # Global Functionalities - + ## User Information @@ -435,7 +436,7 @@ The `use-package` wrapper. ``` - + ## Bindings @@ -460,7 +461,7 @@ The `use-package` wrapper. ``` - + ## Directory and File Management @@ -557,7 +558,7 @@ Create directory where Emacs stores backups files. ``` - + ## Search @@ -591,7 +592,7 @@ Create directory where Emacs stores backups files. ``` - + ## Avy @@ -609,7 +610,7 @@ Create directory where Emacs stores backups files. ``` - + ## Ivy @@ -666,7 +667,7 @@ Create directory where Emacs stores backups files. ``` - + ## Shell @@ -688,12 +689,11 @@ Create directory where Emacs stores backups files. ```emacs-lisp (unless *gui-emacs* (def-package term-keys - :load-path "~/.emacs.d/site-elisp/term-keys" :config (term-keys-mode t))) ``` - + ## Winner @@ -715,7 +715,7 @@ Winner mode restores old window layout. ``` - + ## Which Key @@ -732,7 +732,7 @@ Winner mode restores old window layout. ``` - + ## Popup Kill Ring @@ -744,7 +744,7 @@ Winner mode restores old window layout. ``` - + ## Undo Tree @@ -758,7 +758,7 @@ Winner mode restores old window layout. ``` - + ## Discover My Major @@ -770,7 +770,7 @@ Winner mode restores old window layout. ``` - + ## Ace Window @@ -782,7 +782,7 @@ Winner mode restores old window layout. ``` - + ## Configs @@ -893,7 +893,7 @@ Better compilation configurations. ``` - + ## More Functions @@ -1058,12 +1058,12 @@ BEGIN and END are regexps which define the line range to use." ``` - + # User Interface Enhancements - + ## Title Bar @@ -1072,7 +1072,7 @@ BEGIN and END are regexps which define the line range to use." ``` - + ## All The Icons @@ -1116,7 +1116,7 @@ BEGIN and END are regexps which define the line range to use." ``` - + ## Doom Theme @@ -1134,7 +1134,7 @@ BEGIN and END are regexps which define the line range to use." ``` - + ## Doom Modeline @@ -1155,7 +1155,7 @@ BEGIN and END are regexps which define the line range to use." ``` - + ## Dashboard @@ -1235,7 +1235,7 @@ Open Dashboard Function ``` - + ## Fonts @@ -1275,7 +1275,7 @@ Change Font Function. ``` - + ## Diminish @@ -1286,7 +1286,7 @@ Change Font Function. ``` - + ## Smooth Scroll @@ -1309,7 +1309,7 @@ Smoothens Scrolling. ``` - + ## Pretty Symbols @@ -1333,7 +1333,7 @@ Pretty the Symbols. ``` - + ## UI Configs @@ -1361,12 +1361,12 @@ Pretty the Symbols. ``` - + # General Programming - + ## Magit @@ -1378,7 +1378,7 @@ Pretty the Symbols. ``` - + ## Projectile @@ -1404,7 +1404,7 @@ Pretty the Symbols. ``` - + ## Treemacs @@ -1489,7 +1489,7 @@ Pretty the Symbols. ``` - + ## Company @@ -1516,7 +1516,7 @@ Pretty the Symbols. ``` - + ## YASnippet @@ -1547,7 +1547,7 @@ Pretty the Symbols. ``` - + ## Flycheck @@ -1564,7 +1564,7 @@ Pretty the Symbols. ``` - + ## Dumb Jump @@ -1581,7 +1581,7 @@ Pretty the Symbols. ``` - + ## Line Numbers @@ -1600,7 +1600,7 @@ Display line numbers, and column numbers in modeline. ``` - + ## Parenthesis @@ -1680,7 +1680,7 @@ Match and automatically pair parenthesis. ``` - + ## Indentation @@ -1710,7 +1710,7 @@ Indentation Config ``` - + ## Format All @@ -1724,7 +1724,7 @@ Indentation Config ``` - + ## Evil-Nerd-Commenter @@ -1739,7 +1739,7 @@ Indentation Config ``` - + ## Iedit @@ -1752,7 +1752,7 @@ Indentation Config ``` - + ## Header @@ -1770,7 +1770,7 @@ Indentation Config ``` - + ## Jupyter Notebook @@ -1791,12 +1791,12 @@ Indentation Config ``` - + # Programming - + ## Language Server Protocol @@ -1882,7 +1882,7 @@ Indentation Config ``` - + ## Java @@ -1906,7 +1906,7 @@ Indentation Config ``` - + ## C/C++ @@ -1920,7 +1920,7 @@ Indentation Config Note: If Displaying `No LSP server for c-mode`, execute `M-x ielm` and verify clangd is installed using `(describe-variable *clangd*)` or `(executable-find lsp-clients-clangd-executable)`. - + ## Python @@ -1955,7 +1955,7 @@ Now, put `~/.emacs.d\python-language-server\output\bin\Release\win10-x64\publish ``` - + ## Arduino @@ -1992,7 +1992,7 @@ Now, put `~/.emacs.d\python-language-server\output\bin\Release\win10-x64\publish ``` - + # Web Development @@ -2005,7 +2005,7 @@ npm install -g vscode-html-languageserver-bin ``` - + ## Web Mode @@ -2019,7 +2019,7 @@ npm install -g vscode-html-languageserver-bin ``` - + ## Emmet @@ -2033,7 +2033,7 @@ npm install -g vscode-html-languageserver-bin ``` - + ## JavaScript/TypeScript @@ -2060,12 +2060,12 @@ npm install -g vscode-html-languageserver-bin ``` - + # Miscellaneous - + ## Org @@ -2121,7 +2121,7 @@ npm install -g vscode-html-languageserver-bin ``` - + ## Emacs Web Wowser @@ -2157,7 +2157,7 @@ In Eww, hit & to browse this url system browser ``` - + ## LeetCode @@ -2180,7 +2180,7 @@ In Eww, hit & to browse this url system browser ``` - + ## Tetris @@ -2199,7 +2199,7 @@ Although [Tetris](https://www.emacswiki.org/emacs/TetrisMode) is part of Emacs, ``` - + ## Speed Type @@ -2211,7 +2211,7 @@ Although [Tetris](https://www.emacswiki.org/emacs/TetrisMode) is part of Emacs, ``` - + ## 2048 Game @@ -2223,7 +2223,7 @@ Although [Tetris](https://www.emacswiki.org/emacs/TetrisMode) is part of Emacs, ``` - + ## Zone diff --git a/elisp/init-custom.el b/elisp/init-custom.el index 8ed67778..64f3ba18 100644 --- a/elisp/init-custom.el +++ b/elisp/init-custom.el @@ -58,7 +58,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(js2-mode 2048-game speed-type graphql request-deferred ox-gfm htmlize toc-org typescript-mode emmet-mode web-mode lsp-python-ms lsp-java dap-mode company-lsp lsp-ui lsp-mode iedit evil-nerd-commenter format-all smartparens dumb-jump flycheck yasnippet-snippets yasnippet company treemacs-projectile treemacs-magit treemacs projectile magit highlight-indent-guides diminish dashboard doom-modeline doom-themes all-the-icons-ivy all-the-icons-dired all-the-icons ace-window discover-my-major shell-here undo-tree popup-kill-ring which-key counsel amx ivy avy auto-package-update use-package))) + '(term-keys js2-mode 2048-game speed-type graphql request-deferred ox-gfm htmlize toc-org typescript-mode emmet-mode web-mode lsp-python-ms lsp-java dap-mode company-lsp lsp-ui lsp-mode iedit evil-nerd-commenter format-all smartparens dumb-jump flycheck yasnippet-snippets yasnippet company treemacs-projectile treemacs-magit treemacs projectile magit highlight-indent-guides diminish dashboard doom-modeline doom-themes all-the-icons-ivy all-the-icons-dired all-the-icons ace-window discover-my-major shell-here undo-tree popup-kill-ring which-key counsel amx ivy avy auto-package-update use-package))) (provide 'init-custom) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/elisp/init-package.el b/elisp/init-package.el index 4f0041db..d1114d0b 100644 --- a/elisp/init-package.el +++ b/elisp/init-package.el @@ -44,13 +44,14 @@ ;; MelpaPackages ;; Select the folder to store packages (setq package-user-dir "~/.emacs.d/elpa" - package-archives - '(;; Comment / Uncomment when necessary sites are used - ("gnu" . "http://elpa.gnu.org/packages/") - ("melpa" . "https://melpa.org/packages/") - ("melpa stable" . "http://stable.melpa.org/packages/") - ;;("org" . "http://orgmode.org/elpa/") - )) + package-archives + '(;; Comment / Uncomment when necessary sites are used + ("gnu" . "http://elpa.gnu.org/packages/") + ("melpa" . "https://melpa.org/packages/") + ("melpa stable" . "http://stable.melpa.org/packages/") + ("cselpa" . "https://elpa.thecybershadow.net/packages/") + ;;("org" . "http://orgmode.org/elpa/") + )) ;; -MelpaPackages ;; ConfigurePackageManagement @@ -70,26 +71,26 @@ ;; UsePackageWrapperMacro (mapc #'(lambda (add) (add-to-list 'load-path add)) - (eval-when-compile - ;; (require 'package) - (package-initialize) - ;; Install use-package if not installed yet. - (unless (package-installed-p 'use-package) - (package-refresh-contents) - (package-install 'use-package)) - ;; (require 'use-package) - ;; (setq use-package-always-ensure t) ;; I will handle this myself - (let ((package-user-dir-real (file-truename package-user-dir))) - ;; The reverse is necessary, because outside we mapc - ;; add-to-list element-by-element, which reverses. - (nreverse - (apply #'nconc - ;; Only keep package.el provided loadpaths. - (mapcar #'(lambda (path) - (if (string-prefix-p package-user-dir-real path) - (list path) - nil)) - load-path)))))) + (eval-when-compile + ;; (require 'package) + (package-initialize) + ;; Install use-package if not installed yet. + (unless (package-installed-p 'use-package) + (package-refresh-contents) + (package-install 'use-package)) + ;; (require 'use-package) + ;; (setq use-package-always-ensure t) ;; I will handle this myself + (let ((package-user-dir-real (file-truename package-user-dir))) + ;; The reverse is necessary, because outside we mapc + ;; add-to-list element-by-element, which reverses. + (nreverse + (apply #'nconc + ;; Only keep package.el provided loadpaths. + (mapcar #'(lambda (path) + (if (string-prefix-p package-user-dir-real path) + (list path) + nil)) + load-path)))))) (eval-when-compile (require 'use-package) ;; Always ensure package is installed @@ -103,10 +104,10 @@ ;; If byte-compiling, ignore this package if it doesn't meet the condition. ;; This avoids false-positive load errors. (unless (and (bound-and-true-p byte-compile-current-file) - (or (and (plist-member plist :if) (not (eval (plist-get plist :if)))) - (and (plist-member plist :when) (not (eval (plist-get plist :when)))) - (and (plist-member plist :unless) (eval (plist-get plist :unless))))) - `(use-package ,name ,@plist))) + (or (and (plist-member plist :if) (not (eval (plist-get plist :if)))) + (and (plist-member plist :when) (not (eval (plist-get plist :when)))) + (and (plist-member plist :unless) (eval (plist-get plist :unless))))) + `(use-package ,name ,@plist))) ;; -DefPackage ;; AutoPackageUpdate diff --git a/elisp/init-shell.el b/elisp/init-shell.el index f029f5c0..e4c7d93d 100644 --- a/elisp/init-shell.el +++ b/elisp/init-shell.el @@ -52,7 +52,6 @@ ;; TermKeysPac (unless *gui-emacs* (def-package term-keys - :load-path "~/.emacs.d/site-elisp/term-keys" :config (term-keys-mode t))) ;; -TermKeysPac diff --git a/init.org b/init.org index 7ea6e2ff..4ea7dc63 100644 --- a/init.org +++ b/init.org @@ -147,7 +147,7 @@ * Package Management Some packages are turned off because I don't use them very often. Please verify them in =init.el=. ** Melpa Packages - #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "MelpaPackages" :range-end "-MelpaPackages" :lines "45-54" + #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "MelpaPackages" :range-end "-MelpaPackages" :lines "45-55" Load all Melpa packages in =elisp/= to =load-path= directly to reduce startup time. ** Non-Melpa Packages These packages are contained in =site-elisp/=, they are added to @@ -164,19 +164,19 @@ git submodule update #+END_SRC ** Configure Package Management - #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "ConfigurePackageManagement" :range-end "-ConfigurePackageManagement" :lines "57-69" + #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "ConfigurePackageManagement" :range-end "-ConfigurePackageManagement" :lines "58-70" ** Use-Package Wrapper My Emacs configuration is almost entirely dependant on a faster implementation of [[https://github.com/jwiegley/use-package][use-package]] based on [[https://github.com/hlissner/doom-emacs/blob/master/core/core-packages.el#L323][Doom Emacs]]. #+BEGIN_QUOTE The =use-package= macro allows you to isolate package configuration in your .emacs file in a way that is both performance-oriented and, well, tidy. I created it because I have over 80 packages that I use in Emacs, and things were getting difficult to manage. Yet with this utility my total load time is around 2 seconds, with no loss of functionality! #+END_QUOTE Add the macro generated list of package.el loadpaths to load-path. - #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "UsePackageWrapperMacro" :range-end "-UsePackageWrapperMacro" :lines "72-98" + #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "UsePackageWrapperMacro" :range-end "-UsePackageWrapperMacro" :lines "73-99" The =use-package= wrapper. - #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "DefPackage" :range-end "-DefPackage" :lines "101-110" + #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "DefPackage" :range-end "-DefPackage" :lines "102-111" ** Auto Package Update [[https://github.com/rranelli/auto-package-update.el][Auto package update]] automatically updates installed packages if at least =auto-package-update-interval= days have passed since the last update. - #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "AutoPackageUpdate" :range-end "-AutoPackageUpdate" :lines "113-120" + #+INCLUDE: "~/.emacs.d/elisp/init-package.el" src emacs-lisp :range-begin "AutoPackageUpdate" :range-end "-AutoPackageUpdate" :lines "114-121" * Global Functionalities ** User Information *Prerequisite*: Please update this file your personal info. @@ -226,7 +226,7 @@ #+INCLUDE: "~/.emacs.d/elisp/init-shell.el" src emacs-lisp :range-begin "ShellHere" :range-end "-ShellHere" :lines "48-50" *** Term Keys [[https://github.com/CyberShadow/term-keys][Term-keys]], a lossless keyboard input for Emacs in terminal emulators. - #+INCLUDE: "~/.emacs.d/elisp/init-shell.el" src emacs-lisp :range-begin "TermKeysPac" :range-end "-TermKeysPac" :lines "53-57" + #+INCLUDE: "~/.emacs.d/elisp/init-shell.el" src emacs-lisp :range-begin "TermKeysPac" :range-end "-TermKeysPac" :lines "53-56" ** Winner Winner mode restores old window layout. #+INCLUDE: "~/.emacs.d/elisp/init-winner.el" src emacs-lisp :range-begin "WinnerPac" :range-end "-WinnerPac" :lines "48-60" diff --git a/site-elisp/term-keys b/site-elisp/term-keys deleted file mode 160000 index 3d0f0cca..00000000 --- a/site-elisp/term-keys +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3d0f0ccacae3b85ced7a1a8795fda29fc8b559a8