💥 Move dired, electric-indent, eshell, imenu, term modules to :emacs
This commit is contained in:
parent
0c0276378f
commit
e2d055a40b
12 changed files with 21 additions and 19 deletions
|
@ -42,14 +42,17 @@
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
window-select ; visually switch windows
|
window-select ; visually switch windows
|
||||||
|
|
||||||
:tools
|
:emacs
|
||||||
dired ; making dired pretty [functional]
|
dired ; making dired pretty [functional]
|
||||||
editorconfig ; let someone else argue about tabs vs spaces
|
|
||||||
electric-indent ; smarter, keyword-based electric-indent
|
electric-indent ; smarter, keyword-based electric-indent
|
||||||
;ein ; tame Jupyter notebooks with emacs
|
|
||||||
eshell ; a consistent, cross-platform shell (WIP)
|
eshell ; a consistent, cross-platform shell (WIP)
|
||||||
;gist ; interacting with github gists
|
|
||||||
imenu ; an imenu sidebar and searchable code index
|
imenu ; an imenu sidebar and searchable code index
|
||||||
|
;term ; terminals in Emacs
|
||||||
|
|
||||||
|
:tools
|
||||||
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
|
;ein ; tame Jupyter notebooks with emacs
|
||||||
|
;gist ; interacting with github gists
|
||||||
;macos ; MacOS-specific commands
|
;macos ; MacOS-specific commands
|
||||||
;make ; run make tasks from Emacs
|
;make ; run make tasks from Emacs
|
||||||
;magit ;
|
;magit ;
|
||||||
|
@ -58,7 +61,6 @@
|
||||||
;prodigy ; FIXME managing external services & code builders
|
;prodigy ; FIXME managing external services & code builders
|
||||||
;rgb ; creating color strings
|
;rgb ; creating color strings
|
||||||
rotate-text ; cycle region at point between text candidates
|
rotate-text ; cycle region at point between text candidates
|
||||||
;term ; terminals in Emacs
|
|
||||||
tmux ; an API for interacting with tmux
|
tmux ; an API for interacting with tmux
|
||||||
upload ; map local to remote projects via ssh/ftp
|
upload ; map local to remote projects via ssh/ftp
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
;;; tools/electric-indent/config.el -*- lexical-binding: t; -*-
|
;;; emacs/electric-indent/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Smarter, keyword-based electric-indent
|
;; Smarter, keyword-based electric-indent
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
;;; tools/eshell/autoload/eshell.el -*- lexical-binding: t; -*-
|
;;; emacs/eshell/autoload/eshell.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defface +eshell-prompt-pwd '((t :inherit eshell-prompt))
|
(defface +eshell-prompt-pwd '((t :inherit eshell-prompt))
|
|
@ -1,4 +1,4 @@
|
||||||
;;; tools/eshell/autoload/evil.el -*- lexical-binding: t; -*-
|
;;; emacs/eshell/autoload/evil.el -*- lexical-binding: t; -*-
|
||||||
;;;###if (featurep! :feature evil)
|
;;;###if (featurep! :feature evil)
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
@ -19,7 +19,7 @@ already there)."
|
||||||
(goto-char (point-max))
|
(goto-char (point-max))
|
||||||
(evil-append 1))
|
(evil-append 1))
|
||||||
|
|
||||||
;;;###autoload (autoload '+eshell:run "tools/eshell/autoload/evil" nil t)
|
;;;###autoload (autoload '+eshell:run "emacs/eshell/autoload/evil" nil t)
|
||||||
(evil-define-command +eshell:run (command bang)
|
(evil-define-command +eshell:run (command bang)
|
||||||
;; TODO Add COMMAND support
|
;; TODO Add COMMAND support
|
||||||
(interactive "<fsh><!>")
|
(interactive "<fsh><!>")
|
||||||
|
@ -27,7 +27,7 @@ already there)."
|
||||||
(+eshell/open command)
|
(+eshell/open command)
|
||||||
(+eshell/open-popup command)))
|
(+eshell/open-popup command)))
|
||||||
|
|
||||||
;;;###autoload (autoload '+eshell/evil-change "tools/eshell/autoload/evil" nil t)
|
;;;###autoload (autoload '+eshell/evil-change "emacs/eshell/autoload/evil" nil t)
|
||||||
(evil-define-operator +eshell/evil-change (beg end type register yank-handler delete-func)
|
(evil-define-operator +eshell/evil-change (beg end type register yank-handler delete-func)
|
||||||
"Like `evil-change' but will not delete/copy the prompt."
|
"Like `evil-change' but will not delete/copy the prompt."
|
||||||
(interactive "<R><x><y>")
|
(interactive "<R><x><y>")
|
||||||
|
@ -37,14 +37,14 @@ already there)."
|
||||||
(if (eq type 'line) (point-max) (min (or end (point-max)) (point-max)))
|
(if (eq type 'line) (point-max) (min (or end (point-max)) (point-max)))
|
||||||
type register yank-handler delete-func)))
|
type register yank-handler delete-func)))
|
||||||
|
|
||||||
;;;###autoload (autoload '+eshell/evil-change-line "tools/eshell/autoload/evil" nil t)
|
;;;###autoload (autoload '+eshell/evil-change-line "emacs/eshell/autoload/evil" nil t)
|
||||||
(evil-define-operator +eshell/evil-change-line (beg end type register yank-handler)
|
(evil-define-operator +eshell/evil-change-line (beg end type register yank-handler)
|
||||||
"Change to end of line."
|
"Change to end of line."
|
||||||
:motion evil-end-of-line
|
:motion evil-end-of-line
|
||||||
(interactive "<R><x><y>")
|
(interactive "<R><x><y>")
|
||||||
(+eshell/evil-change beg end type register yank-handler #'evil-delete-line))
|
(+eshell/evil-change beg end type register yank-handler #'evil-delete-line))
|
||||||
|
|
||||||
;;;###autoload (autoload '+eshell/evil-delete "tools/eshell/autoload/evil" nil t)
|
;;;###autoload (autoload '+eshell/evil-delete "emacs/eshell/autoload/evil" nil t)
|
||||||
(evil-define-operator +eshell/evil-delete (beg end type register yank-handler)
|
(evil-define-operator +eshell/evil-delete (beg end type register yank-handler)
|
||||||
"Like `evil-delete' but will not delete/copy the prompt."
|
"Like `evil-delete' but will not delete/copy the prompt."
|
||||||
(interactive "<R><x><y>")
|
(interactive "<R><x><y>")
|
||||||
|
@ -54,7 +54,7 @@ already there)."
|
||||||
(if (eq type 'line) (point-max) (min (or end (point-max)) (point-max)))
|
(if (eq type 'line) (point-max) (min (or end (point-max)) (point-max)))
|
||||||
type register yank-handler)))
|
type register yank-handler)))
|
||||||
|
|
||||||
;;;###autoload (autoload '+eshell/evil-delete-line "tools/eshell/autoload/evil" nil t)
|
;;;###autoload (autoload '+eshell/evil-delete-line "emacs/eshell/autoload/evil" nil t)
|
||||||
(evil-define-operator +eshell/evil-delete-line (_beg end type register yank-handler)
|
(evil-define-operator +eshell/evil-delete-line (_beg end type register yank-handler)
|
||||||
"Change to end of line."
|
"Change to end of line."
|
||||||
:motion nil
|
:motion nil
|
|
@ -1,4 +1,4 @@
|
||||||
;;; tools/eshell/config.el -*- lexical-binding: t; -*-
|
;;; emacs/eshell/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; see:
|
;; see:
|
||||||
;; + `+eshell/open': open in current buffer
|
;; + `+eshell/open': open in current buffer
|
|
@ -1,4 +1,4 @@
|
||||||
;;; tools/imenu/config.el -*- lexical-binding: t; -*-
|
;;; emacs/imenu/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; `imenu-anywhere'
|
;; `imenu-anywhere'
|
||||||
(setq imenu-anywhere-delimiter ": ")
|
(setq imenu-anywhere-delimiter ": ")
|
|
@ -1,5 +1,5 @@
|
||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; tools/imenu/packages.el
|
;;; emacs/imenu/packages.el
|
||||||
|
|
||||||
(package! imenu-anywhere)
|
(package! imenu-anywhere)
|
||||||
(package! imenu-list)
|
(package! imenu-list)
|
|
@ -1,4 +1,4 @@
|
||||||
;;; tools/term/autoload.el -*- lexical-binding: t; -*-
|
;;; emacs/term/autoload.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +term/open (&optional project-root)
|
(defun +term/open (&optional project-root)
|
|
@ -1,4 +1,4 @@
|
||||||
;;; tools/term/config.el -*- lexical-binding: t; -*-
|
;;; emacs/term/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; `multi-term'
|
;; `multi-term'
|
||||||
(setq multi-term-dedicated-window-height 20
|
(setq multi-term-dedicated-window-height 20
|
|
@ -1,4 +1,4 @@
|
||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; tools/term/packages.el
|
;;; emacs/term/packages.el
|
||||||
|
|
||||||
(package! multi-term)
|
(package! multi-term)
|
Loading…
Add table
Add a link
Reference in a new issue