Configure upcased key as combination with shift mod

This commit is contained in:
Thibault Jouan
2015-04-15 01:09:18 +00:00
parent 56197c85f8
commit 9c9aa1dabb
7 changed files with 63 additions and 9 deletions

View File

@@ -66,6 +66,11 @@ module Uh
rc.key :enter, &code
expect(env.keybinds.keys).to include :Return
end
it 'translates upcased key name to a combination with shift' do
rc.key :F, &code
expect(env.keybinds.keys).to include %i[f shift]
end
end
end
end