branch: master
commit 301139d142cb091328453f0fa2bd067d17f943f7
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el (ivy-occur-mode-map): Bind "R" to read-only-mode
    
    Fixes #1273
---
 ivy.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ivy.el b/ivy.el
index 69b6d41..9b65020 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3738,6 +3738,7 @@ buffer would modify `ivy-last'.")
     (define-key map (kbd "o") 'ivy-occur-dispatch)
     (define-key map (kbd "c") 'ivy-occur-toggle-calling)
     (define-key map (kbd "q") 'quit-window)
+    (define-key map (kbd "R") 'read-only-mode)
     map)
   "Keymap for Ivy Occur mode.")
 

Reply via email to