<commit_before>;;; config/default/+bindings.el -*- lexical-binding: t; -*-

;; This file defines a Spacemacs-esque keybinding scheme

;; expand-region's prompt can't tell what key contract-region is bound to, so we
;; tell it explicitly.
(setq expand-region-contract-fast-key "V")

;;
(map! [remap evil-jump-to-tag] #'projectile-find-tag
      [remap find-tag]         #'projectile-find-tag

      ;; Ensure there are no conflicts
      :nmvo doom-leader-key nil
      :nmvo doom-localleader-key nil

      ;; Swap RET/C-j in insert mode
      :gi "RET" #'newline-and-indent
      :i  "C-j" #'+default/newline

      ;; --- Global keybindings ---------------------------
      ;; Make M-x available everywhere
      :gnvime "M-x" #'execute-extended-command
      :gnvime "A-x" #'execute-extended-command

      ;; A little sandbox to run code in
      :gnvime "M-;" #'eval-expression

      ;; Text-scaling
      :n "M-+"   (λ! (text-scale-set 0))
      :n "M-="   #'text-scale-increase
      :n "M--"   #'text-scale-decrease
<commit_msg>Revert fe3a73c1: remap newline instead of binding RET<commit_after>;;; config/default/+bindings.el -*- lexical-binding: t; -*-

;; This file defines a Spacemacs-esque keybinding scheme

;; expand-region's prompt can't tell what key contract-region is bound to, so we
;; tell it explicitly.
(setq expand-region-contract-fast-key "V")

;;
(map! [remap evil-jump-to-tag] #'projectile-find-tag
      [remap find-tag]         #'projectile-find-tag

      ;; Ensure there are no conflicts
      :nmvo doom-leader-key nil
      :nmvo doom-localleader-key nil

      ;; Swap RET/C-j in insert mode
      :i [remap newline] #'newline-and-indent
      :i "C-j" #'+default/newline

      ;; --- Global keybindings ---------------------------
      ;; Make M-x available everywhere
      :gnvime "M-x" #'execute-extended-command
      :gnvime "A-x" #'execute-extended-command

      ;; A little sandbox to run code in
      :gnvime "M-;" #'eval-expression

      ;; Text-scaling
      :n "M-+"   (λ! (text-scale-set 0))
      :n "M-="   #'text-scale-increase
      :n "M--"   #'text-scale-decrease

{'fraction_non_alphanumeric': 0.1709039548022599, 'fraction_numerical': 0.002824858757062147, 'mean_word_length': 2.330721003134796, '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': '4210417', 'n_tokens_mistral': 767, 'n_tokens_neox': 707, 'n_words': 192}