Skip to content

Commit

Permalink
enter evil normal mode when deadgrep-wgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Ye committed Aug 15, 2024
1 parent 1e65b8f commit 80e48f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phye-lisp/phye-init-edit.el
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
"Change to wgrep then toggle readonly mode."
(interactive)
(wgrep-change-to-wgrep-mode)
(wgrep-toggle-readonly-area))
(wgrep-toggle-readonly-area)
(evil-escape))

(defun select-deadgrep-window-advice (search-term &optional directory)
"Select deadgrep buffer"
Expand Down

0 comments on commit 80e48f0

Please sign in to comment.