From 44eae28d7caec97580900f791a40a1ea2fade581 Mon Sep 17 00:00:00 2001 From: Mateus Rodrigues Date: Fri, 10 Jul 2026 16:49:36 +0100 Subject: [PATCH 1/2] add eat --- elisp/extras.el | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/elisp/extras.el b/elisp/extras.el index ad360f0..1fba925 100644 --- a/elisp/extras.el +++ b/elisp/extras.el @@ -75,6 +75,17 @@ ;; We need colors in eshell (use-package xterm-color) +;; eat terminal emulator: +(use-package eat + :straight (:type git + :host codeberg + :repo "akib/emacs-eat" + :files ("*.el" ("term" "term/*.el") "*.texi" + "*.ti" ("terminfo/e" "terminfo/e/*") + ("terminfo/65" "terminfo/65/*") + ("integration" "integration/*") + (:exclude ".dir-locals.el" "*-tests.el")))) + ;; git (use-package magit :demand t @@ -151,6 +162,18 @@ :hook ((python-base-mode . eglot-ensure)) ) +(use-package dape) + +;; For a more ergonomic Emacs and `dape' experience +(use-package repeat + :custom + (repeat-mode +1)) + +;; Left and right side windows occupy full frame height +(use-package emacs + :custom + (window-sides-vertical t)) + ;; TRAMP (load "~/.emacs.d/elisp/tramp-setup.el") (load "~/.emacs.d/elisp/outline-keymap.el") From 7d18de545c50ce380d2df747e7538992b50e76ab Mon Sep 17 00:00:00 2001 From: Mateus Rodrigues Date: Fri, 10 Jul 2026 18:11:43 +0100 Subject: [PATCH 2/2] wip: update eshell setup --- elisp/eshell-setup.el | 19 ------------------- elisp/extras.el | 13 +++++++++++++ 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/elisp/eshell-setup.el b/elisp/eshell-setup.el index 56c51a3..8cd7380 100644 --- a/elisp/eshell-setup.el +++ b/elisp/eshell-setup.el @@ -1,23 +1,4 @@ -;; colors in eshell - -(add-hook 'eshell-mode-hook - (lambda () - (setenv "TERM" "xterm-256color"))) -(add-hook 'eshell-before-prompt-hook (lambda () - (setq xterm-color-preserve-properties t))) - (require 'esh-mode) (add-to-list 'eshell-preoutput-filter-functions 'xterm-color-filter) (setq eshell-output-filter-functions (remove 'eshell-handle-ansi-color eshell-output-filter-functions)) - -;; Don't cycle through history with and -;; Those keys were previously bound to: -;; eshell-previous-matching-input-from-input and -;; eshell-next-matching-input-from-input, respectively -(defun my-eshell-setup () - (progn - (define-key eshell-hist-mode-map (kbd "") nil) - (define-key eshell-hist-mode-map (kbd "") nil))) - -(add-hook 'eshell-mode-hook #'my-eshell-setup) diff --git a/elisp/extras.el b/elisp/extras.el index 32e03ca..bea7519 100644 --- a/elisp/extras.el +++ b/elisp/extras.el @@ -82,6 +82,19 @@ ;; We need colors in eshell (use-package xterm-color) +(use-package eshell + :straight (:type built-in) + :hook (eshell-mode . (lambda () + (setenv "TERM" "xterm-256color"))) + :hook (eshell-before-prompt . (lambda () + (setq xterm-color-preserve-properties t))) + :hook (eshell-mode . (lambda () + (progn + (define-key eshell-hist-mode-map (kbd "") nil) + (define-key eshell-hist-mode-map (kbd "") nil)))) + :config + (load "~/.emacs.d/elisp/eshell-setup.el")) + ;; eat terminal emulator: (use-package eat :straight (:type git