Compare commits

...

3 Commits

Author SHA1 Message Date
Mateus Rodrigues
b8262f7e82 hooks for eshell 2023-11-27 12:10:50 +00:00
Mateus Rodrigues
aecc20f5e7 update feeds list 2023-11-27 12:10:28 +00:00
Mateus Rodrigues
eeb081e2d8 use modus-operandi instead of zenburn 2023-11-27 12:10:10 +00:00
4 changed files with 20 additions and 15 deletions

View File

@@ -1,18 +1,20 @@
;; colors in eshell ;; colors in eshell
;; (add-hook 'eshell-mode-hook
;; (lambda () (add-hook 'eshell-mode-hook
;; (setenv "TERM" "xterm-256color"))) (lambda ()
;; (add-hook 'eshell-before-prompt-hook (lambda () (setenv "TERM" "xterm-256color")))
;; (setq xterm-color-preserve-properties t))) (add-hook 'eshell-before-prompt-hook (lambda ()
;; (add-to-list 'eshell-preoutput-filter-functions 'xterm-color-filter) (setq xterm-color-preserve-properties t)))
;; (setq eshell-output-filter-functions
;; (remove 'eshell-handle-ansi-color eshell-output-filter-functions)) (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 <up> and <down> ;; Don't cycle through history with <up> and <down>
;; Those keys were previously bound to: ;; Those keys were previously bound to:
;; eshell-previous-matching-input-from-input and ;; eshell-previous-matching-input-from-input and
;; eshell-next-matching-input-from-input, respectively ;; eshell-next-matching-input-from-input, respectively
(defun my-eshell-setup () (defun my-eshell-setup ()
(progn (progn
(define-key eshell-hist-mode-map (kbd "<up>") nil) (define-key eshell-hist-mode-map (kbd "<up>") nil)

View File

@@ -10,10 +10,12 @@
;;;; Load my packages ;;;; Load my packages
;; Default theme ;; Default theme
(use-package zenburn-theme ;; (use-package zenburn-theme
:demand t ;; :demand t
:config ;; :config
(load-theme 'zenburn t)) ;; (load-theme 'zenburn t))
(load-theme 'modus-operandi-tinted t)
;; Eshell ;; Eshell
;; (use-package eshell ;; (use-package eshell

View File

@@ -2,6 +2,7 @@
(global-set-key (kbd "C-x g") 'magit-status) (global-set-key (kbd "C-x g") 'magit-status)
;; eshell ;; eshell
(global-set-key (kbd "<f4>") 'eshell) (global-set-key (kbd "<f4>") 'eshell)
(global-set-key (kbd "H-e") 'eshell)
;; number pad keys ;; number pad keys
(global-set-key (kbd "<kp-decimal>") 'other-window) (global-set-key (kbd "<kp-decimal>") 'other-window)

View File

@@ -43,11 +43,11 @@
'(("http://lambda-the-ultimate.org/node/feed" lambda) '(("http://lambda-the-ultimate.org/node/feed" lambda)
("https://acoup.blog/feed" acoup history) ("https://acoup.blog/feed" acoup history)
("https://talesoftimesforgotten.com/feed" history) ("https://talesoftimesforgotten.com/feed" history)
("https://pastsimperfect.substack.com/feed" history)
("https://guix.gnu.org/feeds/blog.atom" guix) ("https://guix.gnu.org/feeds/blog.atom" guix)
("https://mmhaskell.com/blog?format=rss" haskell) ("https://mmhaskell.com/blog?format=rss" haskell)
("https://www.inspiredpython.com/feed" python) ("https://www.inspiredpython.com/feed" python)
("https://sachachua.com/blog/category/emacs-news/feed" emacs) ("https://sachachua.com/blog/category/emacs-news/feed" emacs)
("https://dthompson.us/feed.xml" guile) ("https://dthompson.us/feed.xml" guile)
("https://wingolog.org/feed/atom" guile scheme) ("https://wingolog.org/feed/atom" guile scheme)))
("https://jazzfuel.com/feed/" jazz music)))
(put 'upcase-region 'disabled nil) (put 'upcase-region 'disabled nil)