branch: master
commit 2ce5450732e33c82e6da8e07b917a5b290f0b362
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    counsel.el (counsel-find-file): Bind "M-o R" to find-file-read-only
    
    Fixes #2236
---
 counsel.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/counsel.el b/counsel.el
index 7e12787..efac1ee 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1847,6 +1847,7 @@ choose between `yes-or-no-p' and `y-or-n-p'; otherwise 
default to
    ("b" counsel-find-file-cd-bookmark-action "cd bookmark")
    ("x" counsel-find-file-extern "open externally")
    ("r" counsel-find-file-as-root "open as root")
+   ("R" find-file-read-only "read only")
    ("k" counsel-find-file-delete "delete")
    ("c" counsel-find-file-copy "copy file")
    ("m" counsel-find-file-move "move or rename")

Reply via email to