eshell changes

This commit is contained in:
Chris Cochrun 2022-09-29 10:57:22 -05:00
parent 2ac9e2a9b3
commit 85a2ef30ea
2 changed files with 27 additions and 3 deletions

15
init.el
View file

@ -1927,11 +1927,22 @@ targets."
("nupg" "upgrade-nix")
("nupd" "update-nix")))
(defun chris/eshell-new()
"Open a new eshell buffer"
(interactive)
(eshell 'N))
(defun chris/eshell-switch()
"interactively switch between eshell buffers"
(interactive)
(consult-buffer))
:general
(chris/leader-keys
:states 'normal
:keymaps 'override
"oe" 'eshell)
"oe" 'chris/eshell-new
"be" 'eshell)
(general-def '(normal insert) eshell-mode-map
"C-d" 'kill-buffer-and-window))
@ -2335,6 +2346,8 @@ interfere with the default `bongo-playlist-buffer'."
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(pdf-misc-print-program "/usr/bin/lpr")
'(pdf-misc-print-program-args '("-o media=Letter" "-o fitplot"))
'(safe-local-variable-values
'((aggressive-indent-mode)
(projectile-project-run-cmd . "./build/bin/presenter")