some tweaks to windowing and removing ellama

This commit is contained in:
Chris Cochrun 2024-09-17 10:11:07 -05:00
parent 40e212f240
commit 0be99de2ce
2 changed files with 55 additions and 61 deletions

View file

@ -2173,7 +2173,7 @@ Describe everything that follows in the present tense, in response to what I typ
*** Ellama
Idk, let's try this i guess
#+begin_src emacs-lisp
#+begin_src emacs-lisp :tangle no
(use-package ellama
:init
(require 'llm-ollama)
@ -3143,6 +3143,14 @@ Ace link provides an avy like search for links. Upon using the keybindings prese
(display-buffer-in-side-window)
(side . right)
(window-width . 0.4))
("*cargo-clippy*"
(display-buffer-in-side-window)
(side . right)
(window-width . 0.4))
("*cargo-test*"
(display-buffer-in-side-window)
(side . right)
(window-width . 0.4))
("*rustic-compilation*"
(display-buffer-in-side-window)
(side . right)
@ -3203,6 +3211,14 @@ Ace link provides an avy like search for links. Upon using the keybindings prese
(display-buffer-in-side-window)
(side . bottom)
(window-height . 0.25))
("*cargo-clippy*"
(display-buffer-in-side-window)
(side . bottom)
(window-height . 0.25))
("*cargo-test*"
(display-buffer-in-side-window)
(side . bottom)
(window-height . 0.25))
("\\*Agenda Commands\\*"
(display-buffer-in-side-window)
(side . bottom)
@ -3696,7 +3712,8 @@ Let's give eglot a try.
"ga" 'eglot-code-actions
"gi" 'eglot-find-implementation
"gr" 'eglot-rename
"gR" 'xref-find-references))
"gR" 'xref-find-references
"ge" 'eglot))
#+end_src
#+begin_src emacs-lisp
@ -4639,6 +4656,15 @@ Let's add our own eshell prompt. and set the password cache to a significantly h
(other-window 1)
(delete-window)))
(defun chris/btop ()
"Run btop in eshell"
(interactive)
(eshell 101)
(with-current-buffer "*eshell*<101>"
(eshell-return-to-prompt)
(insert "btop")
(eshell-send-input)))
:general
(chris/leader-keys
:states 'normal