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.2 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-split-window-before t)
    (evil-vsplit-window-right t)
    (evil-want-integration t)
    (evil-want-keybinding nil)
    :config
    (general-evil-setup)
    (evil-mode 1))

Comment

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

Undo-Fu Integration

  (use-package undo-fu
    :after (uno-key-vim evil)
    :custom
    (evil-undo-system 'undo-fu)
    :general
    (uno-define ";" 'evil-ex))

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))