You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

1.6 KiB

Key - Vim

Package

Define Vim key package.

  (use-package emacs
    :after uno-key
    :config
    (provide 'uno-key-vim))

Evil

  (use-package evil
    :after uno-key-vim
    :custom
    (evil-emacs-state-cursor '("Darkgoldenrod2" box))
    (evil-insert-state-cursor '("chartreuse3" (bar . 2)))
    (evil-motion-state-cursor '("plum3" box))
    (evil-normal-state-cursor '("Skyblue2" box))
    (evil-replace-state-cursor '("chocolate" (hbar . 2)))
    (evil-visual-state-cursor '("gray" (hbar . 2)))
    (evil-split-window-before t)
    (evil-vsplit-window-right t)
    (evil-want-integration t)
    :general
    (uno-define ";" 'evil-ex)
    :init
    (evil-mode 1))

Undo-Fu Integration

  (use-package undo-fu
    :after (uno-key-vim evil)
    :custom
    (evil-undo-system 'undo-fu))

Comment

  (use-package evil-nerd-commenter
    :after (uno-key-vim evil)
    :general
    (uno-leader-define
      ";" '(evilnc-comment-or-uncomment-lines :which-key "Toggle comment")))

Evil Collection

  (use-package evil-collection
    :after (uno-key-vim evil)
    :config
    (evil-collection-init))

Anzu Integration

  (use-package evil-anzu
    :after (uno-key-vim evil)
    :config
    (global-anzu-mode 1))

Folding

  (use-package origami
    :after uno-key-vim
    :disabled
    :config
    (global-origami-mode 1))