bkudria/snippits — Issue #1: Assign hotkey for word expansion
Author: iwfmp
Created: 2012-01-13 23:32:07+00:00
State: open

I created a snippet called "do" in my ~/.snippits folder, containing this string:
{control}{shift}{left}{ctrl}{shift}{control}x{contol}{paste}
And I assigned a key for it (Super+e) through the CompizConfig manager in Ubuntu gnome.

Expansion fails.
When running the do snippit through the command line I get this:

^[[1;6D^X^[^C/var/lib/gems/1.8/gems/snippits-0.5.2/lib/typing.rb:250:in ``': Interrupt
from /var/lib/gems/1.8/gems/snippits-0.5.2/lib/typing.rb:250:in `xsel'
from /var/lib/gems/1.8/gems/snippits-0.5.2/lib/typing.rb:171
from /var/lib/gems/1.8/gems/snippits-0.5.2/lib/typing.rb:299:in `call'
from /var/lib/gems/1.8/gems/snippits-0.5.2/lib/typing.rb:299:in `type_text'
from /usr/lib/ruby/1.8/erb.rb:719:in `each_with_index'
from /var/lib/gems/1.8/gems/snippits-0.5.2/lib/typing.rb:294:in `each'
from /var/lib/gems/1.8/gems/snippits-0.5.2/lib/typing.rb:294:in `each_with_index'
from /var/lib/gems/1.8/gems/snippits-0.5.2/lib/typing.rb:294:in `type_text'
from /var/lib/gems/1.8/gems/snippits-0.5.2/bin/ks:17
from /usr/local/bin/ks:19:in `load'
from /usr/local/bin/ks:19

any idea why it doesn't work?