demo-mode

Show command dispatch at hover indicator / also provide service for special integration

t9md

355

7

0.4.1

MIT

GitHub

This package provides the following services:

demo-mode

demo-mode

Development State

alpha

Commands

Mouse

Keymap( keymap.cson )

No keymap by default. Find it by yourself.

Example keymap

'atom-text-editor.vim-mode-plus.normal-mode':
  'space d s': 'demo-mode:toggle'

'atom-workspace.demo-mode-active atom-text-editor:not([mini])':
  'up': 'demo-mode:move-hover-up'
  'down': 'demo-mode:move-hover-down'
  'left': 'demo-mode:move-hover-left'
  'right': 'demo-mode:move-hover-right'

  'space d !': 'demo-mode:toggle-auto-hide'
  'space d d': 'demo-mode:clear'

Style customization example

.demo-mode-container {
  min-width: 30em;
  font-family: "Ricty";
  .keystroke {
    font-size: 1.5em;
  }
}

Service consumer example.

demo-mode currently provide, onWillAddItem service which package author can to add extra information.

See vim-mode-plus project for practical use-case.