content commands as action/reducer
This commit is contained in:
parent
2c40d239f0
commit
adc6a5175c
6 changed files with 80 additions and 94 deletions
|
@ -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',
|
||||
};
|
||||
|
|
Reference in a new issue