SHARE
    TWEET
    Rid1-fz-06

    evil.el

    Dec 1st, 2024
    1,365
    0
    Never
    Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
    Lisp 0.64 KB | Source Code | 0 0
    1. (use-package key-chord)
    2. (use-package evil
    3. :ensure t
    4. :init
    5. (setq evil-want-integration t)
    6. (setq evil-want-keybinding nil)
    7. (setq evil-want-C-u-scroll t)
    8. (setq evil-want-C-i-jump nil)
    9. (require 'evil-collection)
    10. :config
    11. (evil-mode 1)
    12. (setq key-chord-two-keys-delay 0.2)
    13. (key-chord-define evil-insert-state-map "jk" 'evil-normal-state) ;; `jk' to quit insert
    14. (key-chord-mode 1)
    15. ;; Set initial vim-mode for major modes
    16. (evil-set-initial-state 'messages-buffer-mode 'normal)
    17. (evil-set-initial-state 'dashboard-mode 'normal))
    18. (use-package evil-collection
    19. :after evil
    20. :init
    21. (evil-collection-init))
    Advertisement
    Add Comment
    Please, Sign In to add comment
    Public Pastes
    We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
    Not a member of Pastebin yet?
    Sign Up, it unlocks many cool features!

    AltStyle によって変換されたページ (->オリジナル) /