<commit_before>(use-package evil-leader
  :ensure t

  :config
  (global-evil-leader-mode)

  (evil-leader/set-leader "<SPC>")
  (evil-leader/set-key
    "<SPC>" 'execute-extended-command
    "w" 'switch-to-buffer
    "t" 'neotree-toggle)
  )

(use-package evil-nerd-commenter
  :ensure t

  :config
  (global-set-key (kbd "C-\\") 'evilnc-comment-or-uncomment-lines)
  )

(use-package evil-snipe
  :ensure t

  :config
  (evil-snipe-override-mode 1)
  (setq evil-snipe-scope 'buffer)
  )

(defun evil-shift-left-visual ()
  (interactive)
  (evil-shift-left (region-beginning) (region-end))
  (evil-normal-state)
  (evil-visual-restore))

(defun evil-shift-right-visual ()
  (interactive)
  (evil-shift-right (region-beginning) (region-end))
  (evil-normal-state)
  (evil-visual-restore))

(use-package evil
  :ensure t

  :bind (
    ;; bind ctrl-j/k to just move
    ("C-j" . evil-next-line)
    ("C-k" . evil-previous-line)
    )

  :config
  (evil-mode 1)

  ;; command alias
  (evil-ex-define-cmd "W" "w")
  (evil-ex-define-cmd "Wq" "wq")
  (evil-ex-define-cmd "WQ" "wq")
  (evil-ex-define-cmd "Q" "q")

  ;; shift
  (add-hook 'after-change-major-mode-hook (lambda () (setq evil-shift-width 2)))
  (define-key evil-visual-state-map (kbd ">") 'evil-shift-right-visual)
  (define-key evil-visual-state-map (kbd "<") 'evil-shift-left-visual)
  )

(provide 'pkg-evil)<commit_msg>Add Ts evil command to change indent level<commit_after>(use-package evil-leader
  :ensure t

  :config
  (global-evil-leader-mode)

  (evil-leader/set-leader "<SPC>")
  (evil-leader/set-key
    "<SPC>" 'execute-extended-command
    "w" 'switch-to-buffer
    "t" 'neotree-toggle)
  )

(use-package evil-nerd-commenter
  :ensure t

  :config
  (global-set-key (kbd "C-\\") 'evilnc-comment-or-uncomment-lines)
  )

(use-package evil-snipe
  :ensure t

  :config
  (evil-snipe-override-mode 1)
  (setq evil-snipe-scope 'buffer)
  )

(defun evil-shift-left-visual ()
  (interactive)
  (evil-shift-left (region-beginning) (region-end))
  (evil-normal-state)
  (evil-visual-restore))

(defun evil-shift-right-visual ()
  (interactive)
  (evil-shift-right (region-beginning) (region-end))
  (evil-normal-state)
  (evil-visual-restore))

(evil-define-command evil-set-tab-size (size)
  :repeat nil
  (interactive "<f>")
  (setq js-indent-level (string-to-number size)))

(use-package evil
  :ensure t

  :bind (
    ;; bind ctrl-j/k to just move
    ("C-j" . evil-next-line)
    ("C-k" . evil-previous-line)
    )

  :config
  (evil-mode 1)

  ;; command alias
  (evil-ex-define-cmd "W" "w")
  (evil-ex-define-cmd "Wq" "wq")
  (evil-ex-define-cmd "WQ" "wq")
  (evil-ex-define-cmd "Q" "q")
  (evil-ex-define-cmd "Ts" 'evil-set-tab-size)

  ;; shift
  (add-hook 'after-change-major-mode-hook (lambda () (setq evil-shift-width 2)))
  (define-key evil-visual-state-map (kbd ">") 'evil-shift-right-visual)
  (define-key evil-visual-state-map (kbd "<") 'evil-shift-left-visual)
  )

(provide 'pkg-evil)
{'fraction_non_alphanumeric': 0.18570947084597236, 'fraction_numerical': 0.0020222446916076846, 'mean_word_length': 3.1802816901408453, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '499704', 'n_tokens_mistral': 1291, 'n_tokens_neox': 1192, 'n_words': 216}