<commit_before>(in-package #:nyxt-user)

;;keybinding overrides
(define-configuration buffer
  ((override-map (let ((map (make-keymap "my-override-map")))
                   (define-key map
                     "C-d" 'delete-buffer
                     "C-j" 'nyxt/web-mode:scroll-down
                     "C-k" 'nyxt/web-mode:scroll-up
                     "M-h" 'nyxt/web-mode:scroll-left
                     "M-l" 'nyxt/web-mode:scroll-right
                     "C-f" 'nyxt/web-mode:follow-hint
                     "C-F" 'nyxt/web-mode:follow-hint-new-buffer
                     "C-h f" 'describe-function
                     "C-h v" 'describe-variable
                     "C-h b" 'describe-bindings
                     "C-h c" 'describe-command
                     "M-x" 'execute-command
                     "C-s" 'query-selection-in-search-engine
                     "C-c" 'nyxt/web-mode::copy) ;;currently an override because C-c not working without it
                   map))))<commit_msg>nyxt: add more direct keybindings<commit_after>(in-package #:nyxt-user)

;;keybinding overrides
(define-configuration buffer
  ((override-map (let ((map (make-keymap "my-override-map")))
                   (define-key map
                     "C-d" 'delete-buffer
                     "C-b" 'switch-buffer
                     "C-B" 'list-bookmarks
                     "C-h" 'list-history
                     "C-j" 'nyxt/web-mode:scroll-down
                     "C-k" 'nyxt/web-mode:scroll-up
                     "M-h" 'nyxt/web-mode:scroll-left
                     "M-l" 'nyxt/web-mode:scroll-right
                     "C-f" 'nyxt/web-mode:follow-hint
                     "C-F" 'nyxt/web-mode:follow-hint-new-buffer
                     "C-h f" 'describe-function
                     "C-h v" 'describe-variable
                     "C-h b" 'describe-bindings
                     "C-h c" 'describe-command
                     "M-x" 'execute-command
                     "C-s" 'query-selection-in-search-engine
                     "C-c" 'nyxt/web-mode::copy) ;;currently an override because C-c not working without it
                   map))))
{'fraction_non_alphanumeric': 0.13135985198889916, 'fraction_numerical': 0.0, 'mean_word_length': 1.234504132231405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5436668', 'n_tokens_mistral': 680, 'n_tokens_neox': 632, 'n_words': 119}