support 0/$ commands

This commit is contained in:
Shin'ya Ueoka 2017-08-27 17:59:25 +09:00
parent b1908a2876
commit 21404ad534
4 changed files with 27 additions and 3 deletions

View file

@ -9,6 +9,8 @@ export const SCROLL_LINES = 'scroll.lines';
export const SCROLL_PAGES = 'scroll.pages';
export const SCROLL_TOP = 'scroll.top';
export const SCROLL_BOTTOM = 'scroll.bottom';
export const SCROLL_LEFT= 'scroll.left';
export const SCROLL_RIGHT= 'scroll.right';
export const FOLLOW_START = 'follow.start';
export const HISTORY_PREV = 'history.prev';
export const HISTORY_NEXT = 'history.next';
@ -34,6 +36,8 @@ const CONTENT_ACTION_SET = new Set([
SCROLL_PAGES,
SCROLL_TOP,
SCROLL_BOTTOM,
SCROLL_LEFT,
SCROLL_RIGHT,
FOLLOW_START,
HISTORY_PREV,
HISTORY_NEXT