<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>book.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -88,4 +88,12 @@ class Buffers
     $el.get_buffer name
   end
 
+  def self.open_viewing
+    case Keys.prefix
+    when nil:  CodeTree.display_menu(&quot;Buffers.tree 20&quot;)
+    when 0:  CodeTree.display_menu(&quot;Buffers.tree&quot;)
+    else  CodeTree.display_menu(&quot;Buffers.tree #{Keys.prefix}&quot;)
+    end
+  end
+
 end</diff>
      <filename>buffers.rb</filename>
    </modified>
    <modified>
      <diff>@@ -230,4 +230,10 @@ class Code
     View.to orig
   end
 
+  def self.do_kill_duplicates
+    txt = View.selection :delete =&gt; true
+    l = txt.split(&quot;\n&quot;)
+    View.insert l.uniq.join(&quot;\n&quot;)
+  end
+
 end</diff>
      <filename>code.rb</filename>
    </modified>
    <modified>
      <diff>@@ -136,18 +136,18 @@ class Files
   end
 
   def self.open_edited
-    if Keys.prefix == 0
-      CodeTree.display_menu(&quot;Files.edited&quot;) 
-    else
-      CodeTree.display_menu(&quot;Files.edited 20&quot;) 
+    case Keys.prefix
+    when nil:  CodeTree.display_menu(&quot;Files.edited 20&quot;)
+    when 0:  CodeTree.display_menu(&quot;Files.edited&quot;)
+    else  CodeTree.display_menu(&quot;Files.edited #{Keys.prefix}&quot;)
     end
   end
 
   def self.open_history
-    if Keys.prefix == 0
-      CodeTree.display_menu(&quot;Files.history&quot;) 
-    else
-      CodeTree.display_menu(&quot;Files.history 20&quot;) 
+    case Keys.prefix
+    when nil:  CodeTree.display_menu(&quot;Files.history 20&quot;)
+    when 0:  CodeTree.display_menu(&quot;Files.history&quot;)
+    else  CodeTree.display_menu(&quot;Files.history #{Keys.prefix}&quot;)
     end
   end
 </diff>
      <filename>files.rb</filename>
    </modified>
    <modified>
      <diff>@@ -114,7 +114,7 @@ class KeyBindings
     Keys.open_search { Search.outline_search }   # hide search via outline *
     Keys.open_tree { TreeLs.launch }   # draw a tree, prompting for bookmark tag *
     Keys.open_up { View.show_dir }   # open enclosing dir **
-    Keys.open_viewing { CodeTree.display_menu(&quot;Buffers.tree&quot;) }   # show currently open files and buffers **
+    Keys.open_viewing { Buffers.open_viewing }   # show currently open files and buffers **
     Keys.open_windows { View.restore }   # open window configuration by tag
     Keys.open_xiki_docs { Help.display_docs }
     Keys.open_xiki_help { CodeTree.display_menu(&quot;Help.menu&quot;) }   # **
@@ -211,6 +211,7 @@ class KeyBindings
     Keys.do_junior { TreeLs.move_dir_to_junior }   # Move a dir to next line, and indent
     #Keys.DK1 { KeyBindings.keys }   # Do Keys 1: load key bindings &quot;1&quot; (currently this file)
     Keys.do_kill_all { erase_buffer }   # kill all text in buffer
+    Keys.do_kill_duplicates { Code.do_kill_duplicates }
     Keys.do_kill_filter { Search.kill_filter }
     Keys.do_kill_siblings { TreeLs.kill_siblings }   # kill adjacent lines at same indent as this one
     Keys.do_kill_thing { delete_region(* bounds_of_thing_at_point( :sexp )) }   # kill adjacent lines at same indent as this one</diff>
      <filename>key_bindings.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3d6e998ead8b12a69218f8874ad85b046dd2eeb6</id>
    </parent>
  </parents>
  <author>
    <name>trogdoraoeu</name>
    <email>craig.muth@gmail.com</email>
  </author>
  <url>http://github.com/trogdoro/xiki/commit/4e616f380c707a6dff2dd49fa3f272b83ba530bf</url>
  <id>4e616f380c707a6dff2dd49fa3f272b83ba530bf</id>
  <committed-date>2008-08-07T18:36:54-07:00</committed-date>
  <authored-date>2008-08-07T18:36:54-07:00</authored-date>
  <message>Keys.open_edited etc: show prefix items</message>
  <tree>5208558b7b6e2724cd7bd2395db1f7e6c61a6ff5</tree>
  <committer>
    <name>trogdoraoeu</name>
    <email>craig.muth@gmail.com</email>
  </committer>
</commit>
