Feature #168
Prefix keybindings for individual grabs. Like Emacs.
Start date:
01/02/2011
Due date:
% Done:
100%
Estimated time:
0.00 h
Description
It would be nice if you could define a prefix keybinding for individual grabs. For example:
grab 'C-x', :SubtleEscape grab 'v' do client = Subtlext::Client.all.select { |c| 'vim' == c.instance } unless(client.empty?) client.first.focus else Subtlext::Subtle.spawn('urxvtc -name vim -e vim') end end
You would need to press Ctrl + x, (let go off the keys) and then v, to launch Vim. Like the well-known Emacs text editor.
Currently it is only possible to define this globally:
# Escape grab grab 'C-y', :SubtleEscape
This means you need to press Ctrl + y for every defined grab. This it not something you want to do all the time.
History
#1
Updated by Christoph Kappel over 14 years ago
- Status changed from Unconfirmed to Confirmed
- Priority changed from Urgent to High
#2
Updated by Christoph Kappel over 14 years ago
- Status changed from Confirmed to Fixed
- % Done changed from 0 to 100
Applied in changeset e5f6f1ec0114.