<commit_before>vimfx.set('prevent_autofocus', true);

vimfx.set('mode.normal.dev', ';');
vimfx.set('mode.normal.scroll_down', 'j <c-e>');
vimfx.set('mode.normal.scroll_half_page_down', 'J');
vimfx.set('mode.normal.scroll_half_page_up', 'K');
vimfx.set('mode.normal.scroll_left', '<a-h>');
vimfx.set('mode.normal.scroll_page_down', '<space> <c-f>');
vimfx.set('mode.normal.scroll_page_up', '<s-space> <c-b>');
vimfx.set('mode.normal.scroll_right', '<a-l>');
vimfx.set('mode.normal.scroll_up', 'k <c-y>');
vimfx.set('mode.normal.stop', '');
vimfx.set('mode.normal.tab_close', 'd');
vimfx.set('mode.normal.tab_restore', 'u');
vimfx.set('mode.normal.tab_select_next', 'l');
vimfx.set('mode.normal.tab_select_previous', 'h');
vimfx.set('mode.normal.window_new', '');
vimfx.set('mode.normal.window_new_private', '');

vimfx.addKeyOverrides([({hostname, pathname}) => hostname === 'inbox.google.com', ['j', 'k', 'u', 'e','?']]);
vimfx.addKeyOverrides([({hostname, pathname}) => hostname === 'drive.google.com' && pathname.startsWith('/drive/u/'), ['j', 'k', '?']]);
vimfx.addKeyOverrides([({hostname, pathname}) => hostname === 'getpocket.com' && pathname.startsWith('/a/queue/list/'), ['j', 'k', 'u', 'o', 'a', '?']]);

let Cc = Components.classes;
let Ci = Components.interfaces;
let bookmarkService = Cc['@mozilla.org/browser/nav-bookmarks-service;1'].getService(Ci.nsINavBookmarksService);<commit_msg>[vimfx] Ignore '[' and ']' key on Google Inbox<commit_after>vimfx.set('prevent_autofocus', true);

vimfx.set('mode.normal.dev', ';');
vimfx.set('mode.normal.scroll_down', 'j <c-e>');
vimfx.set('mode.normal.scroll_half_page_down', 'J');
vimfx.set('mode.normal.scroll_half_page_up', 'K');
vimfx.set('mode.normal.scroll_left', '<a-h>');
vimfx.set('mode.normal.scroll_page_down', '<space> <c-f>');
vimfx.set('mode.normal.scroll_page_up', '<s-space> <c-b>');
vimfx.set('mode.normal.scroll_right', '<a-l>');
vimfx.set('mode.normal.scroll_up', 'k <c-y>');
vimfx.set('mode.normal.stop', '');
vimfx.set('mode.normal.tab_close', 'd');
vimfx.set('mode.normal.tab_restore', 'u');
vimfx.set('mode.normal.tab_select_next', 'l');
vimfx.set('mode.normal.tab_select_previous', 'h');
vimfx.set('mode.normal.window_new', '');
vimfx.set('mode.normal.window_new_private', '');

vimfx.addKeyOverrides([({hostname, pathname}) => hostname === 'inbox.google.com', ['j', 'k', 'u', 'e','[', ']', '?']]);
vimfx.addKeyOverrides([({hostname, pathname}) => hostname === 'drive.google.com' && pathname.startsWith('/drive/u/'), ['j', 'k', '?']]);
vimfx.addKeyOverrides([({hostname, pathname}) => hostname === 'getpocket.com' && pathname.startsWith('/a/queue/list/'), ['j', 'k', 'u', 'o', 'a', '?']]);

let Cc = Components.classes;
let Ci = Components.interfaces;
let bookmarkService = Cc['@mozilla.org/browser/nav-bookmarks-service;1'].getService(Ci.nsINavBookmarksService);
{'fraction_non_alphanumeric': 0.26206410707995775, 'fraction_numerical': 0.0007044734061289186, 'mean_word_length': 7.137535816618911, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2078663', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1120, 'n_words': 141}