citre-peek-toggle #41
Replies: 2 comments 3 replies
-
Yes... I actually don't quite understand this question. You sure need a command to open the window, don't you? A peek window should always be there unless you press
You can bind
|
Beta Was this translation helpful? Give feedback.
-
The new version of (defun citre-peek-toggle (&optional new)
"Abort the peek session, or restore if not in a peek session.
When there's no session to restore, or NEW is non-nil (specified
by prefix argument), peek the symbol under point."
(interactive "P")
(if citre-peek--mode
(citre-peek-abort)
(if (and citre-peek--session-root-list (not new))
(citre-peek-restore)
(citre-peek))))
(define-key global-map [C-return] 'citre-peek-toggle) |
Beta Was this translation helpful? Give feedback.
-
Do I have to type "M-x citre-peek" every time when I need the peek-window?
I'm using the following code to toggle the window.
Beta Was this translation helpful? Give feedback.
All reactions