Delete old-emacs
This commit is contained in:
parent
12c22a5dfb
commit
86779c79bc
@ -1,41 +0,0 @@
|
|||||||
;; package setup
|
|
||||||
(require 'package)
|
|
||||||
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
|
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
|
||||||
(package-initialize)
|
|
||||||
(unless (package-installed-p 'use-package)
|
|
||||||
(package-refresh-contents)
|
|
||||||
(package-install 'use-package))
|
|
||||||
(eval-when-compile (require 'use-package))
|
|
||||||
(setq use-package-always-ensure t)
|
|
||||||
|
|
||||||
;; evil mode
|
|
||||||
(use-package evil
|
|
||||||
:init
|
|
||||||
(setq evil-want-keybinding nil)
|
|
||||||
:config
|
|
||||||
(evil-mode 1)
|
|
||||||
(setq evil-want-fine-undo t))
|
|
||||||
(use-package evil-collection
|
|
||||||
:after (evil)
|
|
||||||
:config
|
|
||||||
(evil-collection-init))
|
|
||||||
|
|
||||||
;; which-key
|
|
||||||
(use-package which-key
|
|
||||||
:config
|
|
||||||
(which-key-mode))
|
|
||||||
|
|
||||||
;; ivy
|
|
||||||
(use-package counsel
|
|
||||||
:config
|
|
||||||
(ivy-mode 1)
|
|
||||||
(setq ivy-wrap t))
|
|
||||||
(use-package ivy-hydra
|
|
||||||
:after counsel)
|
|
||||||
|
|
||||||
;; magit
|
|
||||||
(use-package magit
|
|
||||||
:commands (magit-status magit-blame magit-find-file))
|
|
||||||
(use-package evil-magit
|
|
||||||
:after magit)
|
|
@ -1,8 +0,0 @@
|
|||||||
alias root cd (projectile-project-root)
|
|
||||||
alias php-debug php -d xdebug.remote_enable=on -d xdebug.remote_host=127.0.0.1 -d xdebug.remote_port=9000 -d xdebug.remote_handler=dbgp -d xdebug.idekey=geben -d xdebug.remote_autostart=On $*
|
|
||||||
alias kns kubens $*
|
|
||||||
alias k kubectl $*
|
|
||||||
alias kctx kubectx $*
|
|
||||||
alias sortpom mvn com.github.ekryd.sortpom:sortpom-maven-plugin:sort -Dsort.keepBlankLines -Dsort.sortDependencies=scope,groupId,artifactId -Dsort.createBackupFile=false $*
|
|
||||||
alias helm /usr/local/bin/helm $*
|
|
||||||
alias tf terraform $*
|
|
@ -1,35 +0,0 @@
|
|||||||
;;; -*- lexical-binding: t; -*-
|
|
||||||
|
|
||||||
;; If ~/.emacs.d/config/base.el exists, just load it. Otherwise,
|
|
||||||
;; first bootstrap Straight and load Org to make sure we end up with
|
|
||||||
;; the right Org version, then tangle ~/.emacs.d/init.org to
|
|
||||||
;; ~/.emacs.d/config/base.el
|
|
||||||
|
|
||||||
(defvar init-org-file (expand-file-name "~/.emacs.old/init.org"))
|
|
||||||
(defvar config-base-file (expand-file-name "~/.emacs.old/config/base.el"))
|
|
||||||
|
|
||||||
(when (not (file-exists-p "~/.emacs.old/config"))
|
|
||||||
(make-directory "~/.emacs.old/config"))
|
|
||||||
|
|
||||||
(when (not (file-exists-p config-base-file))
|
|
||||||
(message "Bootstrapping init file...")
|
|
||||||
(defvar bootstrapping-init t)
|
|
||||||
(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/raxod502/straight.el/develop/install.el"
|
|
||||||
'silent 'inhibit-cookies)
|
|
||||||
(goto-char (point-max))
|
|
||||||
(eval-print-last-sexp)))
|
|
||||||
(load bootstrap-file nil 'nomessage))
|
|
||||||
|
|
||||||
(straight-use-package 'org-plus-contrib)
|
|
||||||
(require 'org)
|
|
||||||
(org-babel-tangle-file init-org-file))
|
|
||||||
|
|
||||||
(load-file config-base-file)
|
|
@ -1,35 +0,0 @@
|
|||||||
;;; -*- lexical-binding: t; -*-
|
|
||||||
|
|
||||||
;; If ~/.emacs.d/config/base.el exists, just load it. Otherwise,
|
|
||||||
;; first bootstrap Straight and load Org to make sure we end up with
|
|
||||||
;; the right Org version, then tangle ~/.emacs.d/init.org to
|
|
||||||
;; ~/.emacs.d/config/base.el
|
|
||||||
|
|
||||||
(defvar init-org-file (expand-file-name "~/.emacs.d/init.org"))
|
|
||||||
(defvar config-base-file (expand-file-name "~/.emacs.d/config/base.el"))
|
|
||||||
|
|
||||||
(when (not (file-exists-p "~/.emacs.d/config"))
|
|
||||||
(make-directory "~/.emacs.d/config"))
|
|
||||||
|
|
||||||
(when (not (file-exists-p config-base-file))
|
|
||||||
(message "Bootstrapping init file...")
|
|
||||||
(defvar bootstrapping-init t)
|
|
||||||
(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/raxod502/straight.el/develop/install.el"
|
|
||||||
'silent 'inhibit-cookies)
|
|
||||||
(goto-char (point-max))
|
|
||||||
(eval-print-last-sexp)))
|
|
||||||
(load bootstrap-file nil 'nomessage))
|
|
||||||
|
|
||||||
(straight-use-package 'org-plus-contrib)
|
|
||||||
(require 'org)
|
|
||||||
(org-babel-tangle-file init-org-file))
|
|
||||||
|
|
||||||
(load-file config-base-file)
|
|
7119
old-emacs/init.org
7119
old-emacs/init.org
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user