Emacs: WIP joe/beframe-switch-and-unassume

This commit is contained in:
Joseph Ferano 2024-09-30 09:20:26 +07:00
parent 8a1634a9e1
commit 2bab49a2e4

View File

@ -1162,6 +1162,14 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
(add-to-list 'consult-buffer-sources 'beframe-consult-source)) (add-to-list 'consult-buffer-sources 'beframe-consult-source))
(setq beframe-create-frame-scratch-buffer nil) (setq beframe-create-frame-scratch-buffer nil)
(beframe-mode +1) (beframe-mode +1)
(defun joe/beframe-switch-and-unassume ()
(interactive)
(let ((curr (current-buffer)))
(mode-line-other-buffer)
(beframe-unassume-current-frame-buffers-selectively '(curr))))
(evil-global-set-key 'normal (kbd "SPC b f") #'joe/beframe-switch-and-unassume)
#+end_src #+end_src
*** Popper *** Popper
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -2337,6 +2345,7 @@ These help speed eglot up apparently [[https://www.reddit.com/r/emacs/comments/1
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-to-list 'auto-mode-alist '("\\.vert\\'" . shader-mode)) (add-to-list 'auto-mode-alist '("\\.vert\\'" . shader-mode))
(add-to-list 'auto-mode-alist '("\\.frag\\'" . shader-mode)) (add-to-list 'auto-mode-alist '("\\.frag\\'" . shader-mode))
(add-to-list 'auto-mode-alist '("\\.glsl\\'" . shader-mode))
#+end_src #+end_src
** AI ** AI
#+begin_src emacs-lisp #+begin_src emacs-lisp