Compare commits
No commits in common. "79416dab24f551cc86173807b1ee94470793b10f" and "fd2e80c23197f6ef893e49bcf532c16ce71b970b" have entirely different histories.
79416dab24
...
fd2e80c231
|
@ -41,27 +41,6 @@
|
|||
)
|
||||
)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; open text-mode scratch in right side window
|
||||
(defun kmn/scratch-text-on-right (&optional dir_path)
|
||||
(defvar parameters
|
||||
'(window-parameters . ((no-other-window . t)
|
||||
(no-delete-other-windows . t))))
|
||||
|
||||
(setq fit-window-to-buffer-horizontally t)
|
||||
(setq window-resize-pixelwise t)
|
||||
|
||||
"Display `default-directory' in side window on left, hiding details."
|
||||
(interactive)
|
||||
(let ((buffer (scratch 'text-mode)))
|
||||
(display-buffer-in-side-window
|
||||
buffer `((side . right) (slot . -1)
|
||||
(window-width . fit-window-to-buffer)
|
||||
, parameters)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; quick reference notes as a pop up window
|
||||
(defun kmn/popwin-quick-ref ()
|
||||
|
|
|
@ -138,6 +138,6 @@
|
|||
(let ((frame (make-frame)))
|
||||
(select-frame-set-input-focus frame)
|
||||
(delete-other-windows)
|
||||
(scratch 'text-mode)
|
||||
(scratch)
|
||||
)
|
||||
)
|
||||
|
|
|
@ -168,7 +168,7 @@
|
|||
)
|
||||
))
|
||||
)
|
||||
(when kmn/is-dayjob
|
||||
(when (not kmn/is-dayjob)
|
||||
(setq org-capture-templates '(
|
||||
("d" "TODO (Main)" entry
|
||||
(file "~/org/_todo.org")
|
||||
|
@ -184,12 +184,5 @@
|
|||
:immediate-finish "f"
|
||||
:jump-to-captured "t"
|
||||
)
|
||||
("p" "Deployment" entry
|
||||
(file "~/org/_todo.org")
|
||||
(file "~/org/template_deploy.org")
|
||||
:prepend t
|
||||
:immediate-finish "f"
|
||||
:jump-to-captured "t"
|
||||
)
|
||||
))
|
||||
)
|
||||
|
|
Reference in a new issue