Skip to content

Commit

Permalink
Added plugin 'mark' for marking
Browse files Browse the repository at this point in the history
  • Loading branch information
jugyo committed Apr 30, 2009
1 parent 5ef7515 commit 6f5da5c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/plugins/mark.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-

config.plugins.mark.set_default(
:text, '<on_green>' + (' ' * 30) + '#mark' + (' ' * 30) + '</on_green>')

Termtter::Client.register_command(
:name => :mark, :alias => :m,
:exec => lambda {|arg|
puts TermColor.parse(config.plugins.mark.text)
}
)

0 comments on commit 6f5da5c

Please sign in to comment.