Compare commits
No commits in common. "bb7162a9e9b5fb500ea549d9590f6f427ea42b49" and "1a2bb74a1aaa42445717978b3733e0dcf67582f1" have entirely different histories.
bb7162a9e9
...
1a2bb74a1a
|
@ -62,27 +62,6 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
; open text-mode scratch in right side window
|
|
||||||
(defun kmn/scratch-prompt-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 (let ((current-prefix-arg t)) (scratch--buffer-querymode)))))
|
|
||||||
(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
|
; quick reference notes as a pop up window
|
||||||
(defun kmn/popwin-quick-ref ()
|
(defun kmn/popwin-quick-ref ()
|
||||||
|
|
|
@ -141,14 +141,3 @@
|
||||||
(scratch 'text-mode)
|
(scratch 'text-mode)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
; scratch buffers frame, prompt for initial mode - use 'scratch and prompts to manage as needed
|
|
||||||
(defun kmn/workspace-frame-scratch-prompt()
|
|
||||||
(interactive)
|
|
||||||
(let ((frame (make-frame)))
|
|
||||||
(select-frame-set-input-focus frame)
|
|
||||||
(delete-other-windows)
|
|
||||||
(scratch (let ((current-prefix-arg t)) (scratch--buffer-querymode)))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
Reference in a new issue