This is operator plugin for vim-mode-plus.
Increase, decrease focus of current jasmine or rspec spec section you are in.
No need to move cursor to header line.
Of course, this is operator, you can repat it with .
command.
it
, fit
, xit
it
, fit
, ffit
, fffit
for jasmine-focused user.flashOnOperate
configuration of vim-mode-plus.No keymap by default. Set following keymap to in your keymap.cson
.
'atom-text-editor.vim-mode-plus.normal-mode':'-': 'vim-mode-plus-user:jasmine-increase-focus''ctrl--': 'vim-mode-plus-user:jasmine-decrease-focus'
or For specific grammar
'atom-text-editor.vim-mode-plus.normal-mode[data-grammar="source coffee"]':'-': 'vim-mode-plus-user:jasmine-increase-focus''ctrl--': 'vim-mode-plus-user:jasmine-decrease-focus'
atom-text-editor.vim-mode-plus.normal-mode[data-grammar="source js"]':'-': 'vim-mode-plus-user:jasmine-increase-focus''ctrl--': 'vim-mode-plus-user:jasmine-decrease-focus'
You can customize list of prefixed focus level text.
"f, x
" is by default.
This mean you can toggle
fit
, xit
, it
(no prefix) when increasexit
, fit
, it
(no prefix) when decreasee.g.
If you are using jasmine-focused and want to toggle fit
to fffit
and don't use x
focus, set this value to "f, ff, fff
"
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.