/ features / modifier.feature
modifier.feature
 1  Feature: Modifier
 2    In order to change prefix key
 3    As a drag stuff user
 4    I want to change the modifier key
 5  
 6    Background: 
 7      Given I insert:
 8        """
 9        line 1
10        line 2
11        """
12      And I go to line "1"
13  
14    Scenario: Single modifier key
15      When I load the following:
16        """
17        (setq drag-stuff-modifier 'control)
18        """
19      And I turn on drag-stuff
20      And I activate the suggested drag-stuff key-bindings
21      When I press "<C-down>"
22      Then I should see:
23        """
24        line 2
25        line 1
26        """
27  
28    Scenario: Multiple modifier keys
29      When I load the following:
30        """
31        (setq drag-stuff-modifier '(meta shift))
32        """
33      And I turn on drag-stuff
34      And I activate the suggested drag-stuff key-bindings
35      When I press "<M-S-down>"
36      Then I should see:
37        """
38        line 2
39        line 1
40        """
41