diff options
| author | condy <condy0919@gmail.com> | 2020-11-14 18:48:09 +0800 |
|---|---|---|
| committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2020-11-15 18:53:44 +0100 |
| commit | f992b37367b324b1e1b468aa33465d6860619f37 (patch) | |
| tree | ee53f8c6b82b99e5d3262116490990e73b0abd02 | |
| parent | 6c318c7628698fa7351c0674aadf75e53d35fb0c (diff) | |
youtube-dl: revamped via read-only bindings
| -rw-r--r-- | modes/youtube-dl/evil-collection-youtube-dl.el | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modes/youtube-dl/evil-collection-youtube-dl.el b/modes/youtube-dl/evil-collection-youtube-dl.el index af47fe2..3a57a1b 100644 --- a/modes/youtube-dl/evil-collection-youtube-dl.el +++ b/modes/youtube-dl/evil-collection-youtube-dl.el @@ -37,7 +37,7 @@ (defun evil-collection-youtube-dl-setup () "Set up `evil' bindings for `youtube-dl'." - (evil-collection-inhibit-insert-state 'youtube-dl-list-mode-map) + (evil-collection-set-readonly-bindings 'youtube-dl-list-mode-map) (evil-collection-define-key 'normal 'youtube-dl-list-mode-map (kbd "S-SPC") 'scroll-down-command @@ -61,12 +61,7 @@ "gj" 'youtube-dl-list-priority-down "gk" 'youtube-dl-list-priority-up (kbd "C-j") 'youtube-dl-list-priority-down - (kbd "C-k") 'youtube-dl-list-priority-up - - ;; quit - "q" 'quit-window - "ZQ" 'evil-quit - "ZZ" 'evil-quit)) + (kbd "C-k") 'youtube-dl-list-priority-up)) (provide 'evil-collection-youtube-dl) ;;; evil-collection-youtube-dl.el ends here |
