about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-02-03 19:23:18 +0100
committertoonn <toonn@toonn.io>2020-02-03 19:23:18 +0100
commit00b11f7a9fb97a2a259d0b8c6b950efb4e7d2f0d (patch)
tree5adac7cd2d7662b5ca15c7f27c1ea4790db8cfab
parentd8c363c9cfb112365b101c9a267e3b0428c3c8d9 (diff)
downloadranger-00b11f7a9fb97a2a259d0b8c6b950efb4e7d2f0d.tar.gz
Add bookmark drawing to the paste to bookmark map
Neglected to add drawing of bookmarks to the mapping that allows pasting
the contents of the copybuffer to a bookmark's path.

Brought to my attention by discussion in #1277.
-rw-r--r--ranger/config/rc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 9d08a6a7..8959a09a 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -620,7 +620,7 @@ map m<any>  set_bookmark %any
 map um<any> unset_bookmark %any
 
 map m<bg>   draw_bookmarks
-copymap m<bg>  um<bg> `<bg> '<bg>
+copymap m<bg>  um<bg> `<bg> '<bg> p`<bg> p'<bg>
 
 # Generate all the chmod bindings with some python help:
 eval for arg in "rwxXst": cmd("map +u{0} shell -f chmod u+{0} %s".format(arg))