about summary refs log tree commit diff stats
path: root/code/fm
diff options
context:
space:
mode:
Diffstat (limited to 'code/fm')
-rw-r--r--code/fm/keys.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/code/fm/keys.rb b/code/fm/keys.rb
index f5854dc9..a2903cad 100644
--- a/code/fm/keys.rb
+++ b/code/fm/keys.rb
@@ -394,6 +394,12 @@ module Fm
 				@pwd.find_file(@copy[0].basename)
 			end
 
+		when 'P'
+			for f in @copy
+				File.symlink(f.path, File.expand_path(f.basename))
+			end
+
+
 		when /^[`'](.)$/
 			if dir = @memory[$1] and not @pwd.path == dir
 				remember_dir