Skip to content

Instantly share code, notes, and snippets.

@Jon-Schneider
Created May 28, 2023 12:37
Show Gist options
  • Save Jon-Schneider/475fc362b2df1af7e2037e3131d36297 to your computer and use it in GitHub Desktop.
Save Jon-Schneider/475fc362b2df1af7e2037e3131d36297 to your computer and use it in GitHub Desktop.
// Scroll
settings.map('j', VLCommand.HALF_PAGE_DOWN);
settings.map('k', VLCommand.HALF_PAGE_UP);
settings.map('f', VLCommand.HALF_PAGE_DOWN);
settings.map('d', VLCommand.HALF_PAGE_UP);
settings.map('g', VLCommand.SCROLL_TO_TOP);
settings.map('shift+g', VLCommand.SCROLL_TO_BOTTOM);
// Normal mode
settings.map('v', VLCommand.ACTIVATE_LINK);
settings.map('shift+v', VLCommand.ACTIVATE_LINK_WITH_NEW_TAB);
settings.map('shift+n', VLCommand.PREV_LINK);
settings.map('tab', VLCommand.NEXT_LINK);
settings.map('shift+tab', VLCommand.PREV_LINK);
settings.map('b', VLCommand.GO_BACK);
settings.map('g', VLCommand.GO_FORWARD);
settings.map('[', VLCommand.PREV_TAB);
settings.map(']', VLCommand.NEXT_TAB);
settings.map('ctrl+t', VLCommand.NEW_TAB);
settings.map('t', VLCommand.NEW_TAB);
settings.map('n', VLCommand.NEW_TAB);
settings.map('i', VLCommand.FOCUS_INPUT);
settings.map('ctrl+i', VLCommand.INSERT_MODE);
settings.map('w', VLCommand.CLOSE_TAB);
settings.map('ctrl+u', VLCommand.VIDEO_FULLSCREEN);
settings.map('ctrl+p', VLCommand.VIDEO_PIP);
settings.map('ctrl+d', VLCommand.DARK_MODE);
settings.map('r', VLCommand.RELOAD);
settings.map('slash', VLCommand.SHOW_CONSOLE);
settings.map('?', VLCommand.TOGGLE_HELP);
settings.map('shift+slash', VLCommand.TOGGLE_HELP);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment