mirror of
https://github.com/sameer1612/.dotfiles.git
synced 2025-02-22 19:38:57 +02:00
added replace with register support - WIP
This commit is contained in:
parent
df334dfb49
commit
2977f46f6b
@ -648,7 +648,6 @@
|
||||
(eval-after-load 'js-mode
|
||||
'(add-hook 'js-mode-hook #'add-node-modules-path)))
|
||||
|
||||
(load (locate-user-emacs-file "packages/evil.el"))
|
||||
|
||||
;;; RAINBOW DELIMITERS
|
||||
;; The `rainbow-delimiters' package provides colorful parentheses, brackets, and braces
|
||||
@ -794,6 +793,7 @@
|
||||
;; Load the Catppuccin theme without prompting for confirmation.
|
||||
(load-theme 'catppuccin :no-confirm))
|
||||
|
||||
(load (locate-user-emacs-file "packages/evil.el"))
|
||||
|
||||
;;; UTILITARY FUNCTION TO INSTALL EMACS-KICK
|
||||
(defun ek/first-install ()
|
||||
|
@ -1,4 +1,3 @@
|
||||
;; EVIL
|
||||
(use-package evil
|
||||
:ensure t
|
||||
:defer t
|
||||
@ -50,10 +49,9 @@
|
||||
;; Project management keybindings
|
||||
(evil-define-key 'normal 'global (kbd "<leader> p b") 'consult-project-buffer)
|
||||
(evil-define-key 'normal 'global (kbd "<leader> p p") 'project-switch-project)
|
||||
(evil-define-key 'normal 'global (kbd "<leader> p f") 'project-find-file)
|
||||
(evil-define-key 'normal 'global (kbd "<leader> p g") 'project-find-regexp)
|
||||
(evil-define-key 'normal 'global (kbd "<leader> p k") 'project-kill-buffers)
|
||||
(evil-define-key 'normal 'global (kbd "<leader> p D") 'project-dired)
|
||||
(evil-define-key 'normal 'global (kbd "<leader> p d") 'project-dired)
|
||||
|
||||
;; Yank from kill ring
|
||||
(evil-define-key 'normal 'global (kbd "P") 'consult-yank-from-kill-ring)
|
||||
@ -124,7 +122,6 @@
|
||||
(evil-mode 1))
|
||||
|
||||
|
||||
;; EVIL COLLECTION
|
||||
(use-package evil-collection
|
||||
:after evil
|
||||
:defer t
|
||||
@ -133,3 +130,11 @@
|
||||
(evil-mode . evil-collection-init)
|
||||
:config
|
||||
(evil-collection-init))
|
||||
|
||||
(use-package evil-replace-with-register
|
||||
:after evil-collection
|
||||
:defer t
|
||||
:ensure t
|
||||
:config
|
||||
(setq evil-replace-with-register-key (kbd "gr"))
|
||||
(evil-replace-with-register-install))
|
||||
|
Loading…
x
Reference in New Issue
Block a user