diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-10 17:51:25 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-10 17:51:25 +0900 |
commit | adc6a5175c0d8b83e45b9e8d99109c1605ad29ac (patch) | |
tree | 6481cd07b3c3a7e22bf9fa606a0a816ba55ba92d /src/actions | |
parent | 2c40d239f0962f1442f357c0697e4c8aa2eafd31 (diff) |
content commands as action/reducer
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/index.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/actions/index.js b/src/actions/index.js index bc44fec..de3ab42 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -1,11 +1,12 @@ 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', @@ -14,4 +15,18 @@ export default { 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', }; |