Bring popper back cause side-window doesn't work
This commit is contained in:
parent
4252faee42
commit
1e4d5c28ab
@ -928,7 +928,8 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp :tangle no
|
||||||
|
|
||||||
;; TODO Prot help improving workflow. There's a bug where sometimes this doesn't work anymore
|
;; TODO Prot help improving workflow. There's a bug where sometimes this doesn't work anymore
|
||||||
;; Is there a way to detect if the current window is a side window?
|
;; Is there a way to detect if the current window is a side window?
|
||||||
(global-set-key (kbd "C-`") #'window-toggle-side-windows)
|
(global-set-key (kbd "C-`") #'window-toggle-side-windows)
|
||||||
@ -987,7 +988,7 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
|
|||||||
(beframe-mode +1)
|
(beframe-mode +1)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** COMMENT Popper
|
*** Popper
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(require 'popper)
|
(require 'popper)
|
||||||
@ -1004,7 +1005,7 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
|
|||||||
"^\\*cargo-test\\*" cargo-test-mode
|
"^\\*cargo-test\\*" cargo-test-mode
|
||||||
"^\\*cargo-run\\*" cargo-run-mode
|
"^\\*cargo-run\\*" cargo-run-mode
|
||||||
"^\\*rustic-compilation\\*" rustic-compilation-mode
|
"^\\*rustic-compilation\\*" rustic-compilation-mode
|
||||||
;; "^\\*ansi-term\\*$" term-mode
|
"^\\*ansi-term\\*$" term-mode
|
||||||
("^\\*Warnings\\*$" . hide)
|
("^\\*Warnings\\*$" . hide)
|
||||||
help-mode
|
help-mode
|
||||||
helpful-mode))
|
helpful-mode))
|
||||||
@ -1034,7 +1035,6 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
|
|||||||
|
|
||||||
((and (eq joe/popper-side-toggle 'right)
|
((and (eq joe/popper-side-toggle 'right)
|
||||||
(window-in-direction 'left))
|
(window-in-direction 'left))
|
||||||
(message "Here")
|
|
||||||
(window--display-buffer
|
(window--display-buffer
|
||||||
buffer (get-buffer-window (current-buffer)) 'reuse))
|
buffer (get-buffer-window (current-buffer)) 'reuse))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user