diff options
Diffstat (limited to 'code/keys.rb')
-rw-r--r-- | code/keys.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/code/keys.rb b/code/keys.rb index d601f9d2..c3d81778 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -348,6 +348,15 @@ module Fm system "du --max-depth=1 -h | less" end + when 'diff' + externally do + if !@copy.empty? + system "diff #{@copy.first.sh} #{currentfile.sh} | less" + else + system "diff #{@marked.sh} | less" + end + end + when 'tar' externally do system('tar', 'cvvf', 'pack.tar', *selection.map{|x| x.basename}) @@ -611,6 +620,7 @@ module Fm ter ta S e ?? ?g ?f ?m ?l ?c ?o ?z ?s o m ` ' go + dif um |