默认是小窗口在下半截,找不到在那里面定义f默认最大化。
自己找到了,在init.el中把popup关掉即可。或者f临时关掉+pop-mode也行.
1 个赞
但是我想在其他情况下保留这个mode,只在打开agenda时关闭,该怎么设置呢?
关闭 popup
(set-popup-rule! "^\\*Org Agenda" :ignore t)
老哥,我刚在discord问了下,也是这样回答我的,但是这样加上之后没变化
;; show agenda as the only window
(setq org-agenda-window-setup 'only-window)
How the agenda buffer should be displayed.
Possible values for this option are:
current-window Show agenda in the current window, keeping all other windows.
other-window Use switch-to-buffer-other-window to display agenda.
only-window Show agenda, deleting all other windows.
reorganize-frame Show only two windows on the current frame, the current
window and the agenda.
other-frame Use switch-to-buffer-other-frame to display agenda.
Also, when exiting the agenda, kill that frame.
(after! org (setq org-agenda-window-setup 'only-window)) 要用它那个宏才起作用哈
是的,所有有关org的设置最好都包在(after! org )块里