Skip to content

Launch TUI commands in an external terminal asynchronously, seamlessly integrating callbacks within Emacs. Elevate your Emacs experience with eee.el

License

Notifications You must be signed in to change notification settings

eval-exec/eee.el

Repository files navigation

eee.el: Extended Emacs With External Tui application

eee.el launches excellent terminal user interface tools (such as yazi, fzf, lazy-git, etc.) with Emacs asynchronously. It is very fast and does not burden Emacs.

ee.el Support:

  1. yazi : launch yazi from Emacs asynchronously, then yazi tell emacs which file to open
  2. ripgrep : launch ripgrep + fzf from Emacs asynchronous, then ripgrep tell emacs jump to which file and position
  3. fzf : combined with ripgrep
  4. lazygit : launch lazygit from Emacs asynchronously
  5. ripgrep-all: search pdf files by ee-rga
  6. delta: show git delta by ee-delta
  7. htop: launch htop by ee-htop
  8. btop: launch btop by ee-btop

… more tui tools and options will be enhanced and provided.

2024-09-13_22-56-02.mp4

Installation

Elpaca

(use-package eee
  :ensure (:type git :host github :repo "eval-exec/eee.el"
                 :files (:defaults "*.el" "*.sh")))

Straight

(use-package eee
  :ensure '(:type git :host github :repo "eval-exec/eee.el"
                 :files (:defaults "*.el" "*.sh")))

Local

(use-package eee
  :load-path "<local path to eee.el project directory>")

Configuration

Example

(use-package eee
  :load-path "~/Projects/github.com/eval-exec/eee.el/"
  :config
  
  ;; Should have wezterm or alacritty installed, more terminal application is supporting...
;; Issues and pull requests are welcome
  (setq ee-terminal-command "wezterm")

  (global-definer "f" 'ee-find)
  (global-definer "g" 'ee-lazygit)
  (global-definer "y" 'ee-yazi-project)
  (general-def "C-x C-f" 'ee-yazi)
  (general-def "C-S-f" 'ee-rg)
  (general-evil-define-key 'normal 'global "M-f" 'ee-line)
  )

Please submit an issue to let me know what you need and want. Thank you! 💙

About

Launch TUI commands in an external terminal asynchronously, seamlessly integrating callbacks within Emacs. Elevate your Emacs experience with eee.el

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •