fix(emacs): add and use window-static
This commit is contained in:
parent
852909e66f
commit
1d1804f3fc
1 changed files with 9 additions and 1 deletions
|
@ -37,11 +37,19 @@
|
||||||
:stream t
|
:stream t
|
||||||
:key #'gptel-api-key-from-auth-source)))
|
:key #'gptel-api-key-from-auth-source)))
|
||||||
|
|
||||||
|
(defun window-static (&rest r)
|
||||||
|
"Make the current window width static."
|
||||||
|
(interactive)
|
||||||
|
(message "Setting window static.")
|
||||||
|
(setq window-size-fixed 'width))
|
||||||
|
|
||||||
(use-package claude-code-ide
|
(use-package claude-code-ide
|
||||||
:straight (:type git :host github :repo "manzaltu/claude-code-ide.el")
|
:straight (:type git :host github :repo "manzaltu/claude-code-ide.el")
|
||||||
:bind ("C-c c" . claude-code-ide-menu)
|
:bind ("C-c c" . claude-code-ide-menu)
|
||||||
:config
|
:config
|
||||||
(claude-code-ide-emacs-tools-setup))
|
(claude-code-ide-emacs-tools-setup)
|
||||||
|
(advice-add 'claude-code-ide--display-buffer-in-side-window :after #'window-static)
|
||||||
|
(advice-add 'claude-code-ide-switch-to-buffer :after #'window-static))
|
||||||
|
|
||||||
(provide 'priime-ai)
|
(provide 'priime-ai)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue