<commit_before>;; Time-stamp: <2014-08-12 23:52:13 kmodi>

;; Region Bindings Mode
;; https://github.com/fgallina/region-bindings-mode
;; Minor mode that enables the ability of having a custom keys for working with
;; regions. This is a pretty good way to keep the global bindings clean.

(req-package region-bindings-mode
  :config
  (progn
    (region-bindings-mode-enable)))


(provide 'setup-region-bindings-mode)
<commit_msg>Critical update: deactivate the region bindings mode when "C-SPC" is hit. This fixes the problem of unintentionally doing mc/mark-all-like-this when the region bindings mode stays on even after deactivating the marks<commit_after>;; Time-stamp: <2015-02-05 14:13:57 kmodi>

;; Region Bindings Mode
;; https://github.com/fgallina/region-bindings-mode
;; Minor mode that enables the ability of having a custom keys for working with
;; regions. This is a pretty good way to keep the global bindings clean.

(req-package region-bindings-mode
  :config
  (progn
    (region-bindings-mode-enable)

    (defun modi/disable-rbm-deactivate-mark ()
      (interactive)
      (region-bindings-mode -1)
      (deactivate-mark))

    (bind-keys
     :map region-bindings-mode-map
     ("<C-SPC>" . modi/disable-rbm-deactivate-mark))))


(provide 'setup-region-bindings-mode)

{'fraction_non_alphanumeric': 0.1130030959752322, 'fraction_numerical': 0.02244582043343653, 'mean_word_length': 3.8609022556390977, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 2, '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': '1548343', 'n_tokens_mistral': 441, 'n_tokens_neox': 407, 'n_words': 127}