diff options
Diffstat (limited to 'src/shared/operations.js')
-rw-r--r-- | src/shared/operations.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/shared/operations.js b/src/shared/operations.js new file mode 100644 index 0000000..b68f59d --- /dev/null +++ b/src/shared/operations.js @@ -0,0 +1,38 @@ +export default { + // Command + COMMAND_SHOW: 'command.show', + COMMAND_SHOW_OPEN: 'command.show.open', + COMMAND_SHOW_TABOPEN: 'command.show.tabopen', + COMMAND_SHOW_BUFFER: 'command.show.buffer', + + // Scrolls + SCROLL_LINES: 'scroll.lines', + SCROLL_PAGES: 'scroll.pages', + SCROLL_TOP: 'scroll.top', + SCROLL_BOTTOM: 'scroll.bottom', + SCROLL_HOME: 'scroll.home', + SCROLL_END: 'scroll.end', + + // Follows + FOLLOW_START: 'follow.start', + + // Navigations + NAVIGATE_HISTORY_PREV: 'navigate.history.prev', + NAVIGATE_HISTORY_NEXT: 'navigate.history.next', + NAVIGATE_LINK_PREV: 'navigate.link.prev', + NAVIGATE_LINK_NEXT: 'navigate.link.next', + NAVIGATE_PARENT: 'navigate.parent', + NAVIGATE_ROOT: 'navigate.root', + + // Tabs + TAB_CLOSE: 'tabs.close', + TAB_REOPEN: 'tabs.reopen', + TAB_PREV: 'tabs.prev', + TAB_NEXT: 'tabs.next', + TAB_RELOAD: 'tabs.reload', + + // Zooms + ZOOM_IN: 'zoom.in', + ZOOM_OUT: 'zoom.out', + ZOOM_NEUTRAL: 'zoom.neutral', +}; |