mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 08:01:35 +09:00
Emacs : in word searching, include underscore to whole word
This commit is contained in:
@ -172,7 +172,7 @@ https://github.com/raxod502/straight.el
|
|||||||
(add-hook 'evil-mode-hook 'ju/evil-hook)
|
(add-hook 'evil-mode-hook 'ju/evil-hook)
|
||||||
(evil-mode 1)
|
(evil-mode 1)
|
||||||
(define-key evil-insert-state-map (kbd "C-h") 'evil-delete-backward-char-and-join)
|
(define-key evil-insert-state-map (kbd "C-h") 'evil-delete-backward-char-and-join)
|
||||||
(setq-default evil-symbol-word-search t) ;; evil can identify the word with underscore.
|
;;(setq-default evil-symbol-word-search t) ;; evil can identify the word with underscore.
|
||||||
;; Http://blog.binchen.org/posts/auto-complete-word-in-emacs-mini-buffer-when-using-evil.html
|
;; Http://blog.binchen.org/posts/auto-complete-word-in-emacs-mini-buffer-when-using-evil.html
|
||||||
;;(defun minibuffer-inactive-mode-hook-setup ()
|
;;(defun minibuffer-inactive-mode-hook-setup ()
|
||||||
;;;; make `try-expand-dabbrev' from `hippie-expand' work in mini-buffer
|
;;;; make `try-expand-dabbrev' from `hippie-expand' work in mini-buffer
|
||||||
@ -207,7 +207,8 @@ https://github.com/raxod502/straight.el
|
|||||||
:config
|
:config
|
||||||
(evil-collection-init))
|
(evil-collection-init))
|
||||||
|
|
||||||
(defalias 'forward-evil-word 'forward-evil-symbol) ;; include underscore to word
|
(modify-syntax-entry ?_ "w")
|
||||||
|
;;(defalias 'forward-evil-word 'forward-evil-symbol) ;; include underscore to word
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** TODO Check Tips
|
** TODO Check Tips
|
||||||
@ -247,8 +248,9 @@ https://nathantypanski.com/blog/2014-08-03-a-vim-like-emacs-config.html
|
|||||||
doom-themes-enablbe-italic t)
|
doom-themes-enablbe-italic t)
|
||||||
:config
|
:config
|
||||||
;;(load-theme 'doom-material t)
|
;;(load-theme 'doom-material t)
|
||||||
(load-theme 'doom-palenight t)
|
;;(load-theme 'doom-palenight t)
|
||||||
;;(load-theme 'doom-gruvbox t)
|
;;(load-theme 'doom-gruvbox t)
|
||||||
|
(load-theme 'doom-one t)
|
||||||
;; Enable flashing mode-line on errors
|
;; Enable flashing mode-line on errors
|
||||||
(doom-themes-visual-bell-config)
|
(doom-themes-visual-bell-config)
|
||||||
;; Corrects (and improves) org-mode's native fontification.
|
;; Corrects (and improves) org-mode's native fontification.
|
||||||
|
|||||||
Reference in New Issue
Block a user