aboutsummaryrefslogtreecommitdiff
path: root/src/actions/index.js
blob: 135dd4a08f91519dac57dbbd509ec554b41890a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
export default {
  // console commands
  CONSOLE_SHOW_COMMAND: 'vimvixen.console.show.command',
  CONSOLE_SET_COMPLETIONS: 'vimvixen.console.set.completions',
  CONSOLE_SHOW_ERROR: 'vimvixen.console.show.error',
  CONSOLE_HIDE: 'vimvixen.console.hide',

  // Background commands
  BACKGROUND_REQUEST_COMPLETIONS: 'vimvixen.background.request.completions',
  TABS_CLOSE: 'tabs.close',
  TABS_REOPEN: 'tabs.reopen',
  TABS_PREV: 'tabs.prev',
  TABS_NEXT: 'tabs.next',
  TABS_RELOAD: 'tabs.reload',
  ZOOM_IN: 'zoom.in',
  ZOOM_OUT: 'zoom.out',
  ZOOM_NEUTRAL: 'zoom.neutral',

  // content commands
  CMD_OPEN: 'cmd.open',
  CMD_TABS_OPEN: 'cmd.tabs.open',
  CMD_BUFFER: 'cmd.buffer',
  SCROLL_LINES: 'scroll.lines',
  SCROLL_PAGES: 'scroll.pages',
  SCROLL_TOP: 'scroll.top',
  SCROLL_BOTTOM: 'scroll.bottom',
  SCROLL_LEFT: 'scroll.left',
  SCROLL_RIGHT: 'scroll.right',
  FOLLOW_START: 'follow.start',
  HISTORY_PREV: 'history.prev',
  HISTORY_NEXT: 'history.next',

  // User input
  INPUT_KEY_PRESS: 'input.key,press',
  INPUT_CLEAR_KEYS: 'input.clear.keys',
};