org-mode-expansions.feature (1056B)
1 Feature: org-mode expansions 2 In order to quickly and precisely mark org mode sections 3 As an Emacs user 4 I want to expand to them 5 6 Scenario: Org level 3 7 Given I turn on org-mode 8 When I insert: 9 """ 10 * lvl 1 11 ** lvl 2 12 *** lvl 3 13 """ 14 And I place the cursor before "*** lvl 3" 15 And I press "C-@" 16 And I press "C-@" 17 Then the region should be "*** lvl 3" 18 19 Scenario: Org level 2 20 Given I turn on org-mode 21 When I insert: 22 """ 23 * lvl 1 24 ** lvl 2 25 *** lvl 3 26 """ 27 And I place the cursor before "*** lvl 3" 28 And I press "C-@" 29 And I press "C-@" 30 And I press "C-@" 31 Then the region should be: 32 """ 33 ** lvl 2 34 *** lvl 3 35 """ 36 37 Scenario: Org level 1 38 Given I turn on org-mode 39 When I insert: 40 """ 41 * lvl 1 42 ** lvl 2 43 *** lvl 3 44 """ 45 And I place the cursor before "*** lvl 3" 46 And I press "C-@" 47 And I press "C-@" 48 And I press "C-@" 49 And I press "C-@" 50 Then the region should be: 51 """ 52 * lvl 1 53 ** lvl 2 54 *** lvl 3 55 """