diff options
Diffstat (limited to 'extras/vim-like.el')
-rw-r--r-- | extras/vim-like.el | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/extras/vim-like.el b/extras/vim-like.el deleted file mode 100644 index d6a8db6..0000000 --- a/extras/vim-like.el +++ /dev/null @@ -1,36 +0,0 @@ -;;; Emacs Bedrock -;;; -;;; Extra config: Vim emulation - -;;; Usage: Append or require this file from init.el for bindings in Emacs. - -;;; Contents: -;;; -;;; - Core Packages - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;;; -;;; Core Packages -;;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;; Evil: vi emulation -(use-package evil - :ensure t - - :init - (setq evil-respect-visual-line-mode t) - (setq evil-undo-system 'undo-redo) - - ;; Enable this if you want C-u to scroll up, more like pure Vim - ;(setq evil-want-C-u-scroll t) - - :config - (evil-mode) - - ;; If you use Magit, start editing in insert state - (add-hook 'git-commit-setup-hook 'evil-insert-state) - - ;; Configuring initial major mode for some modes - (evil-set-initial-state 'eat-mode 'emacs) - (evil-set-initial-state 'vterm-mode 'emacs)) |